[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: R: Loading files at startup in Win95
- Subject: Re: R: Loading files at startup in Win95
- From: Carl Distefano CLDistefano@xxxxxxxx
- Date: Wed, 21 Jan 1998 06:06:44 +0000
Reply to note from "Adriano MD4929" Tue, 20 Jan
98 22:00:49 +0000
-> > Nice try, guys. I used both your techniques. I tried Nathan's
-> > suggestion of putting XWSTART.INT in the \Windows directory.
-> > \XW was already in my path.
-> > But when I click on a Xywrite document instead of the Xywrite
-> > logo, I still get a "Logon not recognized" error message. Any
-> > other ideas?
-> [...]
-> Yes, one other idea. On my PC, I only made a
-> copy of the logon file (which resides on the program directory,
-> i.e. \XW) to the default working directory (i.e. \DOCS). And it
-> works fine. So, try to do "F5 copy \xw\myname.log F9"; quit
-> xywin and restart it by clicking on the document. I hope it
-> works also on your PC.
Putting the .LOG file directory in the path won't cure "Logon is not
recognized". For a LOGON to succeed, default NL (the value returned
by ) has to point to the .LOG file directory. For example, if
you issue LOGON JACK, Xy looks for a file named JACK.LOG in the
directory. If it doesn't find it, you get the error.
The default value for NL at startup is the null string (no value).
If you execute a LOGON command when default NL has no value, XyWrite
will look for the log file in the current directory. Adriano's
suggestion of copying the .LOG file to the default working directory
(usually pointed to by Save/Get 1900) would work under those
conditions -- provided that the default working directory is the
current directory when the LOGON command is executed. It would also
work if happened to point to the default working directory.
Otherwise, it would fail.
To avoid the LOGON error, make sure that STARTUP.INT (or XWSTART.INT
in XyWin) includes lines like the following (in the order shown):
BX d nl=D:\PATH\Q2 ;*;
BX logon NAMEQ2 ;*;
Be certain that D:\PATH contains NAME.LOG. You can omit the first
line if your .LOG file is in the directory that contains EDITOR.EXE
(or XW.EXE) and the LOGON command occurs before any Change Directory
command in STARTUP.INT.
If you load a SETTINGS.DFL (or XWSET.DFL), make sure that the line
starting with "DF NL=" points to the correct .LOG file directory.
That should do it.
--------------
Carl Distefano
CLDistefano@xxxxxxxx
http://users.datarealm.com/xywwweb/