[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: Setting default save directory



** Reply to message from "Judd Antin"  on Mon, 22 Jul
2002 10:51:36 -0400

XyWrite opens in the directory you are located in when you start XyWrite. Now
*normally* you start XyWrite in its own directory -- the directory where
EDITOR.EXE is located -- so that it can find STARTUP.INT, which should be in the
same directory as EDITOR. Automatically XyWrite looks for STARTUP.INT when it
launches.

Suppose XyWrite is in D:\XY3. Suppose your current directory location is
C:\WINDOWS. if you command:

D:\XY4\EDITOR.EXE

Xy3 will launch, will proclaim that it can't find STARTUP.INT, and will use its
own internal defaults to get going. Current directory will be C:\WINDOWS. Any
SAving you do will be to C:\WINDOWS -- but your installation will be crippled
because none of your customized variables have been absorbed (your keyboard file
is an obvious example).

So of course normally you start in D:\XY3, so that you don't have these errors.
If you want to establish more-or-less permanently a different directory as your
default dir and SAve dir, then just add a couple of commands at the bottom of
STARTUP.INT, *after* STARTUP has successfully loaded all the files it needs from
the main Xy3 directory. Suppose you wish E:\JUDD to be your default (SAve) dir.
You would add:

...BC e:XC BC cd \juddXC ...

near the end of the file, e.g. just before the terminal ≪EX≫. Note that
"BC " and "XC " above are true functions. Thereafter, at any time, change the
default dir, if you wish, per Fred Gross's msg.

-----------------------------
Robert Holmgren
holmgren@xxxxxxxx
-----------------------------