home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.misc
- Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uchinews!ellis!sip1
- From: sip1@ellis.uchicago.edu (Timothy F. Sipples)
- Subject: Re: changing working directory for Windows apps running under OS/2
- Message-ID: <1992Jul22.160927.3972@midway.uchicago.edu>
- Sender: news@uchinews.uchicago.edu (News System)
- Reply-To: sip1@midway.uchicago.edu
- Organization: Dept. of Econ., Univ. of Chicago
- References: <1992Jul21.143700.611@calmasd.prime.com>
- Date: Wed, 22 Jul 1992 16:09:27 GMT
- Lines: 31
-
- 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.
-