Computing.Net > Forums > Disk Operating System > Silent batch file

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

Reply to Message Icon

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?

Thank you

Cheers,

mimil



Sponsored Link
Ads by Google

Response Number 1
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.

Thank you for the answer.

Mimil


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Silent batch file

running a batch file silently? www.computing.net/answers/dos/running-a-batch-file-silently/3864.html

Closing Window after Batch file is complete www.computing.net/answers/dos/closing-window-after-batch-file-is-complete/1778.html

pass admin permission in batch file www.computing.net/answers/dos/pass-admin-permission-in-batch-file/16336.html