Any idea how to do this? I need some kind of autoexec.bat that will execute 2 subst (which is a win32 program, so autoexec.nt will not work) commands. This is on NT 4.0 Server.
One thought I had was using the SC command. It is not well documented. One of the interesting options is " start= <boot|system|auto|demand|disabled|error>".
What do the "boot" and "system" options do?
I also found AUTOEXNT, but it has the same problem as SC, since this is a service.
I HAVE to do this *before* all the oracle services (I have over 12 active oracle services, so I don't want to have to go through them all and have them set up to depend on this service to do the subst commands). A lot of them have no dependencies. Even if I mucked with the dependencies, it would be a maintenance nightmare. Any oracle services that get added in the future would need to be tweaked.
So I am hoping I can use the boot or system option, but I need to know what they do first to know which, if either, is appropriate. Or if there is another approach, like the win9x Run* keys in the registry or some other trick to run something before the services kick off...