home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / os2 / misc / 25147 < prev    next >
Encoding:
Text File  |  1992-07-22  |  2.1 KB  |  44 lines

  1. Newsgroups: comp.os.os2.misc
  2. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uchinews!ellis!sip1
  3. From: sip1@ellis.uchicago.edu (Timothy F. Sipples)
  4. Subject: Re: changing working directory for Windows apps running under OS/2
  5. Message-ID: <1992Jul22.160927.3972@midway.uchicago.edu>
  6. Sender: news@uchinews.uchicago.edu (News System)
  7. Reply-To: sip1@midway.uchicago.edu
  8. Organization: Dept. of Econ., Univ. of Chicago
  9. References: <1992Jul21.143700.611@calmasd.prime.com>
  10. Date: Wed, 22 Jul 1992 16:09:27 GMT
  11. Lines: 31
  12.  
  13. In article <1992Jul21.143700.611@calmasd.prime.com> kjb@calmasd.prime.com (Ken Brucker) writes:
  14. >A couple weeks ago I posted this same question but had to leave town
  15. >unexpectedly for a week so I missed any followup that may have occured. 
  16. >But to the point ...
  17. >I'm trying to get some Windows applications to startup using different default
  18. >directories from the ones they happen to reside in.  For example, try as I
  19. >might I have been unable to have Word for Windows start with a default
  20. >directory of anything other than c:/winword.  So everytime I start the
  21. >application and want to work on specific files I need to change the directory
  22. >spec in the "Open" dialog.
  23.  
  24. With specific reference to Word all you need to do is create a macro
  25. (in Word BASIC) called AutoExec.  This macro will execute
  26. automatically with each startup.  To cause Word to change directories,
  27. just use one line in the macro:
  28.  
  29. ChDir "C:\docs"
  30.  
  31. (replace C:\docs with whatever directory you wish to use).
  32.  
  33. Since Win-OS/2 is based on Windows 3.0, and since Windows 3.0 forgot
  34. to include this obviously useful feature that has been in OS/2 since
  35. at least Version 1.3, it didn't make it into OS/2 2.0's Windows
  36. compatibility.  With the Windows 3.1 update I anticipate IBM will
  37. incorporate default directories for Windows applications.
  38.  
  39. -- 
  40. Get the OS/2 FREQ. ASKED QUESTIONS LIST | Timothy F. Sipples
  41. from 128.123.35.151, anonymous ftp,     | Internet: sip1@ellis.uchicago.edu
  42. directory pub/os2/all/faq, or from      | Dept. of Econ., U. Chicago, 60637
  43. LISTSERV@BLEKUL11.BITNET (send "HELP"). | Tsongas > Perot > Clinton.  Yay.
  44.