home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / os2 / misc / 25444 < prev    next >
Encoding:
Internet Message Format  |  1992-07-25  |  2.0 KB

  1. Path: sparky!uunet!paladin.american.edu!darwin.sura.net!wupost!emory!uumind!overmind!midway.uchicago.edu.citadel!News
  2. From: midway.uchicago.edu!sip1@overmind.mind.org
  3. Newsgroups: comp.os.os2.misc
  4. Subject: Re: changing working directory for Windows apps running under OS/2
  5. Message-ID: <2178249@overmind.citadel>
  6. Date: 22 Jul 92 20:09:00 GMT
  7. Organization: Dept. of Econ., Univ. of Chicago
  8. Lines: 34
  9. X-mailer: Stadel 3.4a-227
  10. X-Spam-content: irrelevant
  11.  
  12. In article <1992Jul21.143700.611@calmasd.prime.com> kjb@calmasd.prime.com 
  13. (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 
  18. default
  19. >directories from the ones they happen to reside in.  For example, try as I
  20. >might I have been unable to have Word for Windows start with a default
  21. >directory of anything other than c:/winword.  So everytime I start the
  22. >application and want to work on specific files I need to change the 
  23. directory
  24. >spec in the "Open" dialog.
  25.  
  26. With specific reference to Word all you need to do is create a macro
  27. (in Word BASIC) called AutoExec.  This macro will execute
  28. automatically with each startup.  To cause Word to change directories,
  29. just use one line in the macro:
  30.  
  31. ChDir "C:\docs"
  32.  
  33. (replace C:\docs with whatever directory you wish to use).
  34.  
  35. Since Win-OS/2 is based on Windows 3.0, and since Windows 3.0 forgot
  36. to include this obviously useful feature that has been in OS/2 since
  37. at least Version 1.3, it didn't make it into OS/2 2.0's Windows
  38. compatibility.  With the Windows 3.1 update I anticipate IBM will
  39. incorporate default directories for Windows applications.
  40.  
  41. -- 
  42. Get the OS/2 FREQ. ASKED QUESTIONS LIST | Timothy F. Sipples
  43. from 128.123.35.151, anonymous ftp,     | Internet: sip1@ellis.uchicago.edu
  44. directory pub/os2/all/faq, or from      | Dept. of Econ., U. Chicago, 60637
  45. LISTSERV@BLEKUL11.BITNET (send "HELP"). | Tsongas > Perot > Clinton.  Yay.
  46.