1.

Solve : Batch File Help Needed Please!?

Answer»

Hi,

I current have a server Windows Server 2003 that runs a Trackmania Dedicated Game Server off it.

The trackmania server is working perfectly but I need to get something called Dedimania to start when the computer starts which is a .bat file.

When I log in over RDC and start the bat file manually Dedimania pops up on the Trackmania Server and all it well, but when I log off the bat file ends and Dedimania disappears.

So my question is can I keep the bat file running when I log off or is there someway to make the .bat file run without loading into Windows first?

I have read MANY forum theads etc and tried srvany.exe which puts Dedimania into the services but never actually starts it (never worked out why?)

The other thing I have come across is this HTTP://support.microsoft.com/kb/243486 which seems like it could work but as I have to call the batch file Autoexnt.bat what do I put in there to make the batch file run the dedimania batch file?

Hope that makes sense? srvany.exe does not support batch files - http://support.microsoft.com/kb/137890

Pretty positive there is no way to run a batch file in 2003 without logging into Windows first and/or without being logged into an account. Is there a reason you can't just lock the computer while remaining logged in?



thanks for the reply.

I suppose we could do that but I was trying to find a way that WOULD allow the batch file to run without having the EXTRA work to log in and run the file everytime the machine is reset.If you're concerned about logging into the computer every time setup Windows to auto login. It can be a security risk if other people are around the computer, but you can set it to auto login then set a short time (e.g. 1 MINUTE) for the screen saver to come on with a password.



Discussion

No Comment Found