Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Silent batch file
Name: mimil Date: June 10, 2002 at 22:25:03 Pacific
Comment:
Hello,
I would like to run a batch file in silent mode (without the DOS window poping up). How could I do that?
Name: Kevin Date: June 11, 2002 at 00:45:03 Pacific
Reply:
Add the following line:
@ECHO OFF
Any lines that follow will not be displayed on the screen as they are executed.
0
Response Number 2
Name: Dan Penny Date: June 11, 2002 at 04:30:08 Pacific
Reply:
"(without the DOS window poping up)"
Are you running this in some version of windows? If so, run it minimized, and all you should get is a button on the task bar showing it's "open". (Unless there's some sort of output from the program which writes to the screen. If that's the case, try a redirect to nul if possible.)
0
Response Number 3
Name: Secret_Doom Date: June 11, 2002 at 12:55:16 Pacific
Reply:
I believe he's on Windows and wants that after double-clicking a batch file, it would run minimized (automatically)
1. Right-click on batch file 2. Go on 'program' tab 3. 'Run' or 'Execute' field (at bottom) 4. Select 'minimized'
That's for Win9x. As Dan said, you will only get a little button on the task bar saying it is running.
PS: That's not a DOS question, it's a WINDOWS question.
-- Secret_Doom - Leonardo Pignataro --
secret_doom@hotmail.com www.batch.hpg.com.br
0
Response Number 4
Name: mimil Date: June 11, 2002 at 19:15:46 Pacific
Reply:
Ok Ok, it might be a window question. The fact is I didn't know if there were some kind of option before running the batch file from the cmd window. As I didn't know the answer to my question, I didn't know it was a window question. I'll try to be carefull in the future.
Summary: hi, Is it possible to run a batch file silently e.g. no dos window up and the batch process running quietly. If so could someone tell me the sntax please. all i've found is the /m command which only m...
Summary: What is the batch command, if any, to close the DOS window after the batch file is complete? I am running Win 95 and am using batch files to apply patches silently: However, when the batch process is...
Summary: Hi, I am running this script in a batch file but now I'm trying to pass in administrator credentials to run it. I am unsure how to do this - does anyone have a code example. Thanks. ------------...