home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.ibm.pc.misc:16066 misc.misc:4151
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!spool.mu.edu!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!torn!nott!dgbt!netfs!ub!oswego!soswva!mulvey
- From: mulvey@blurt.oswego.edu (Allen Mulvey, SUNY, Oswego, NY)
- Newsgroups: comp.sys.ibm.pc.misc,misc.misc
- Subject: Re: Need Help With Creating a Word Perfect Function
- Message-ID: <1992Dec21.162832.957@blurt.oswego.edu>
- Date: 21 Dec 92 21:28:32 GMT
- References: <1gqej7INN3m7@gw.home.vix.com>
- Organization: SUNY College at Oswego, Oswego, NY
- Lines: 35
-
- In article <1gqej7INN3m7@gw.home.vix.com>, shedevil@vix.com (Anne P. Mitchell JD) writes:
- > [And why isn't there a Word Perfect newsgroup??]
-
- Good question!
-
- ... deletions
- > Therefore the function I would like to enable is something by which
- > when I save a document in "anne\smith", the file will also
- > automatically be saved in "client\smith".
- ... deletions
-
- There are several ways you could do this. One is to always save with a
- macro which would do the following:
-
- 1 - prompt for a filename if one does not exist ({system}name~ will tell
- you the name, check for a null)
- 2 - save the file to the default directory
- 3 - save the default directory in a variable ({system}path~ will give you
- the path of the file
- 4 - shell to dos
- 5 - copy the file to the "master" directory
-
- Using the system variable will allow one network macro to function from any
- client on the net. The macro could also save the file twice but as you have
- probably already discovered the last used path becomes part of the filename
- and could cause confusion if the file is saved several times. By using the
- DOS COPY command you avoid setting any internal WordPerfect variables to
- point to the master directory. You may not need to use the {system}path~
- variable if you run WordPerfect from the requested directory but it will be
- necessary if you use the WordPerfect setup to specify the location of text
- files as other than the actual DOS default directory. I would use it in
- either case just to be safe.
-
- Allen Mulvey
- mulvey@blurt.oswego.edu
-