home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!paladin.american.edu!darwin.sura.net!wupost!emory!uumind!overmind!midway.uchicago.edu.citadel!News
- From: midway.uchicago.edu!sip1@overmind.mind.org
- Newsgroups: comp.os.os2.misc
- Subject: Re: changing working directory for Windows apps running under OS/2
- Message-ID: <2178249@overmind.citadel>
- Date: 22 Jul 92 20:09:00 GMT
- Organization: Dept. of Econ., Univ. of Chicago
- Lines: 34
- X-mailer: Stadel 3.4a-227
- X-Spam-content: irrelevant
-
- In article <1992Jul21.143700.611@calmasd.prime.com> kjb@calmasd.prime.com
- (Ken Brucker) writes:
- >A couple weeks ago I posted this same question but had to leave town
- >unexpectedly for a week so I missed any followup that may have occured.
- >But to the point ...
- >I'm trying to get some Windows applications to startup using different
- default
- >directories from the ones they happen to reside in. For example, try as I
- >might I have been unable to have Word for Windows start with a default
- >directory of anything other than c:/winword. So everytime I start the
- >application and want to work on specific files I need to change the
- directory
- >spec in the "Open" dialog.
-
- With specific reference to Word all you need to do is create a macro
- (in Word BASIC) called AutoExec. This macro will execute
- automatically with each startup. To cause Word to change directories,
- just use one line in the macro:
-
- ChDir "C:\docs"
-
- (replace C:\docs with whatever directory you wish to use).
-
- Since Win-OS/2 is based on Windows 3.0, and since Windows 3.0 forgot
- to include this obviously useful feature that has been in OS/2 since
- at least Version 1.3, it didn't make it into OS/2 2.0's Windows
- compatibility. With the Windows 3.1 update I anticipate IBM will
- incorporate default directories for Windows applications.
-
- --
- Get the OS/2 FREQ. ASKED QUESTIONS LIST | Timothy F. Sipples
- from 128.123.35.151, anonymous ftp, | Internet: sip1@ellis.uchicago.edu
- directory pub/os2/all/faq, or from | Dept. of Econ., U. Chicago, 60637
- LISTSERV@BLEKUL11.BITNET (send "HELP"). | Tsongas > Perot > Clinton. Yay.
-