Computing.Net > Forums > Disk Operating System > What does >nul do in a batch file

What does >nul do in a batch file

Reply to Message Icon

Original Message
Name: Mike
Date: November 24, 1998 at 05:35:45 Pacific
Subject: What does >nul do in a batch file
Comment:

What does >nul do in a batch file?

Thanks


Report Offensive Message For Removal


Response Number 1
Name: Igor M
Date: November 24, 1998 at 12:29:41 Pacific
Subject: What does >nul do in a batch file
Reply: (edit)

Hi,

When you use ">nul" at the and of a line in batch file you redirect program's output to the NULL device. That way you can prevent program from writing to the screen if you don't want to see any messages on the screen while running batch file.

Good luck, Igor M


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: What does >nul do in a 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 3 Days.
Discuss in The Lounge