delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to opendos-bounces using -f |
Message-Id: | <QQscrg02002.200502201409@mr4.ash.ops.us.uu.net> |
Date: | Sun, 20 Feb 2005 09:08:26 -0500 (New York) |
From: | Gary Welles <gary AT wellesway DOT com> |
To: | OpenDos <opendos AT delorie DOT com> |
Subject: | Re: PNW (restarting server?) |
Reply-To: | opendos AT delorie DOT com |
Arkady V.Belousov wrote: AB> Gary Welles wrote: GW> In SWAPNET.BAT: GW> echo ldtcp=y >! c:\boot.dat GW> reboot GW> In AUTOEXEC.BAT: GW> set /r c:\boot.dat >& nul GW> del /q c:\boot.dat >& nul AB> Be easier: AB> AB> echo @set ldtcp=y>c:\bootset.bat AB> reboot AB> AB> if exist c:\bootset.bat call bootset.bat AB> if exist c:\bootset.bat del bootset.bat>nul Tks! Arkady's suggestion of a batch file could go beyond setting variables. So far I've only advanced to setting multiple variables that I would otherwise select via SWITCH in config.sys. Here to load the TCP/IP stack and not load DESQview/X: echo ldtcp=y%=r%=nlddvx=n >! c:\boot.dat reboot if exist c:\boot.dat (set /r c:\boot.dat %+ del /q c:\boot.dat) When the echo/reboot commands are executed from my check email batch file, it would make sense to go ahead and check the e-mail. Perhaps there is a way to preserve the command that resulted in the reboot and execute it after autoexec.bat. BTW: Loading the disk cache after the network drivers appears to have had a good effect. -- Gary Welles
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |