Article View: comp.windows.ms
Article #7930Re: WFW Default Directory
From: Dave Kruger
Date: Tue, 08 Jan 1991 02:25
Date: Tue, 08 Jan 1991 02:25
44 lines
2053 bytes
2053 bytes
/ hparc0:comp.windows.ms / <YTHPRGDB@MTUS5.BITNET> / 7:15 am Dec 29, 1990 /
> Is there any way to change the WFW default document directory? I want
> documents to automatically go into the C:\DOCUMENT directory.
This question was asked a while back (in this notes group, I think). Someone
replied--I don't remember that worthy's name--along the lines of some of the
previous responses in this string, that is, you need to modify/create the
AutoExec startup macro. The suggestion was:
Sub MAIN
defdir$ = GetProfileString$("defdir")
ChDir defdir$
EndSub
You also need to add the following line in your WIN.INI file in the
[MicrosoftWord] section:
defdir=C:\DOCUMENT
Of course, you must substitute the appropriate directory name for your
installation.
This seems convoluted to me (especially if, as someone else has mentioned, a
simple "ChDir C:\DOCUMENT" statement in the AutoExec macro works), but I use it
and it works well. Thanks to the kind person who suggested it.
STICK THE BOOTS IN FLAG: ON
I can guess what the above commands do, but don't know for sure. To know this,
I would have to buy the "Microsoft Word for Windows Technical Reference". If
*that* book is as atrocious as the rest of the W4W documentation (and Microsoft
documentation in general) it would be a great waste of money. Fair Dinkum,
I've never seen such hopeless documentation as that which comes with W4W.
There, I feel much better now. If anyone at Microsoft is listening, care to
comment?
STICK THE BOOTS IN FLAG: OFF
Regards,
Dave K.
Technical Details
Message-ID:
<2770008@hparc0.HP.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!dali.cs.montana.edu!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpcc05!hparc0!dakReferences:
<90362.151544YTHPRGDB@MTUS5.BITNET>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!dali.cs.montana.edu!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpcc05!hparc0!dak From: dak@hparc0.HP.COM (Dave Kruger) Newsgroups: comp.windows.ms Subject: Re: WFW Default Directory Message-ID: <2770008@hparc0.HP.COM> Date: 8 Jan 91 02:25:36 GMT References: <90362.151544YTHPRGDB@MTUS5.BITNET> Organization: HP Australasian Response Centre (Melbourne) Lines: 44