home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / ibm / pc / misc / 16066 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  2.0 KB

  1. Xref: sparky comp.sys.ibm.pc.misc:16066 misc.misc:4151
  2. 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
  3. From: mulvey@blurt.oswego.edu (Allen Mulvey, SUNY, Oswego, NY)
  4. Newsgroups: comp.sys.ibm.pc.misc,misc.misc
  5. Subject: Re: Need Help With Creating a Word Perfect Function
  6. Message-ID: <1992Dec21.162832.957@blurt.oswego.edu>
  7. Date: 21 Dec 92 21:28:32 GMT
  8. References: <1gqej7INN3m7@gw.home.vix.com>
  9. Organization: SUNY College at Oswego, Oswego, NY
  10. Lines: 35
  11.  
  12. In article <1gqej7INN3m7@gw.home.vix.com>, shedevil@vix.com (Anne P. Mitchell JD) writes:
  13. > [And why isn't there a Word Perfect newsgroup??]
  14.  
  15. Good question!
  16.  
  17. ... deletions 
  18. > Therefore the function I would like to enable is something by which
  19. > when I save a document in "anne\smith", the file will also
  20. > automatically be saved in "client\smith".
  21. ... deletions
  22.  
  23. There are several ways you could do this. One is to always save with a 
  24. macro which would do the following:
  25.  
  26. 1 - prompt for a filename if one does not exist ({system}name~ will tell 
  27. you the name, check for a null)
  28. 2 - save the file to the default directory
  29. 3 - save the default directory in a variable ({system}path~ will give you 
  30. the path of the file
  31. 4 - shell to dos
  32. 5 - copy the file to the "master" directory
  33.  
  34. Using the system variable will allow one network macro to function from any 
  35. client on the net. The macro could also save the file twice but as you have 
  36. probably already discovered the last used path becomes part of the filename 
  37. and could cause confusion if the file is saved several times. By using the 
  38. DOS COPY command you avoid setting any internal WordPerfect variables to 
  39. point to the master directory. You may not need to use the {system}path~ 
  40. variable if you run WordPerfect from the requested directory but it will be 
  41. necessary if you use the WordPerfect setup to specify the location of text 
  42. files as other than the actual DOS default directory. I would use it in 
  43. either case just to be safe.
  44.  
  45.             Allen Mulvey
  46.             mulvey@blurt.oswego.edu
  47.