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

Silent batch file

Reply to Message Icon

Original Message
Name: mimil
Date: June 10, 2002 at 22:25:03 Pacific
Subject: Silent batch file
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


Report Offensive Message For Removal


Response Number 1
Name: Kevin
Date: June 11, 2002 at 00:45:03 Pacific
Subject: Silent batch file
Reply: (edit)

Add the following line:

@ECHO OFF

Any lines that follow will not be displayed on the screen as they are executed.


Report Offensive Follow Up For Removal

Response Number 2
Name: Dan Penny
Date: June 11, 2002 at 04:30:08 Pacific
Subject: Silent batch file
Reply: (edit)

"(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.)


Report Offensive Follow Up For Removal

Response Number 3
Name: Secret_Doom
Date: June 11, 2002 at 12:55:16 Pacific
Subject: Silent batch file
Reply: (edit)

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


Report Offensive Follow Up For Removal

Response Number 4
Name: mimil
Date: June 11, 2002 at 19:15:46 Pacific
Subject: Silent batch file
Reply: (edit)

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


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Silent batch file

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




How often do you use Computing.Net?

Every Day
Once a Week
Once a Month
This Is My First Time!


View Results

Poll Finishes In 2 Days.
Discuss in The Lounge