This little piece of software from the Resource kit lets one install a
service that allows you to run an autoexnt.bat file in NT like you used to
be able to do in DOS with the autoexec.bat file. The files needed are
available at ftp://tvd0074.urh.uiuc.edu/pub/desc-stuff
(Note that I have removed the deschall client, which is needed to pull
this off.)
Essentialy, the system works by running one batch file, then everything is
running. I'll explain below:
Contents of instdesc.bat:
REM @echo off
REM Copy all the needed files into the system32 directory (Stuff for the
REM Service and the autoexnt.bat file)
copy \\thing\desc$\install\*.* %SYSTEMROOT%\system32
REM Copy out deschallx.exe and the instexnt binary
mkdir c:\desc
copy \\thing\desc$\*.* c:\desc
REM Install it
c:\desc\instexnt install
REM Start it...
net start autoexnt
Contents of autoexnt.bat file:
REM Run deschal5 on startup!
c:\desc\deschal5 keymaster.verser.frii.com > c:\desc\log.txt
Send me some mail if this is all unclear....And I'll try again....
Corey
"Takes two to make three, but one ain't here
Still chasing women and drinking beer."
--"Welfare Music" by The Bottle Rockets