PDA

View Full Version : silent batch file


Dunc
05-07-2003, 20:01
It's hardly a programming question, but anyway..


I've got a batch file running on startup to map all my network drives, but is there a way to make it run minimized, or even better completely invisibly? This is in XP btw

Jameen
05-07-2003, 21:05
Why would you want to may i ask?

Jameen

Forthy
05-07-2003, 21:11
Probably 'cos he doesn't want it appearing on the screen :confused:

Try here (http://www.ericphelps.com/batch/samples/invisible.txt) Dunc :D

Jameen
05-07-2003, 21:43
Lol yeah but dont it just run then close?

like in a couple of seconds?

Jameen

Dunc
05-07-2003, 21:53
cheers forthy, just what i needed.

jameen, yeh it is only for a couple of seconds, but that's a couple of seconds of ugly black screen i could do without.

Forthy
05-07-2003, 22:36
NP

sambartle
12-07-2003, 20:28
Assuming you have 2000 or XP you can also run it as a system service, which will start it and run it invisibly if configured that way.

Its not a lot better than whats described in the text file, and takes a lot longer to set up so not really a good idea, but i just thought id put it up there in case you felt it was needed.