hvig
January 20th, 2001, 09:39 AM
Used to be in wins 3.1 it was easy-- just set the environment variable in the autoexec.bat which ran before windows booted.
I'm trying to set up my web server as a service that starts when the machine boots before anybody logs in to the machine. If I use the same autoexec.bat method, the environment variable (which happens to be a pathname) doesn't get set until after the machine has a user log on at the console. The web server session that started before the user log on has a blank pathname and is not reachable from the web. If I start the server from after the user log on, everything works fine.
Is there another place (and of course, in what file) that I can put the SET command, or equivalent, to get the variable set before the server is started?
Thanks for any help.
------------------
You can't push someone up a hill without gettin g closer to the top yourself.
I'm trying to set up my web server as a service that starts when the machine boots before anybody logs in to the machine. If I use the same autoexec.bat method, the environment variable (which happens to be a pathname) doesn't get set until after the machine has a user log on at the console. The web server session that started before the user log on has a blank pathname and is not reachable from the web. If I start the server from after the user log on, everything works fine.
Is there another place (and of course, in what file) that I can put the SET command, or equivalent, to get the variable set before the server is started?
Thanks for any help.
------------------
You can't push someone up a hill without gettin g closer to the top yourself.