DOS and Batch Files

Display ErrorLevel on the screen

SUMMARY: Debug batch files by displaying the error level returned by DOS commands.


Loyal MalekTips reader, going by the handle "Fast Track", suggested this tip.

Debugging batch files and need to see the error level results of every DOS command echoed to the screen? Try this command:

COMMAND /Z

This echoes the command processor with 'errorlevel' echoed to the screen.

Return to the DOS and Batch Files page.

Thanks For Sharing!

 

 

Newest Tips

Cell Phone
[MODIFIED] Six Battery Conservation Tips
Google Search Engine
What is My IP Address?
Mozilla Firefox - Misc
Missing the Title Bar? Menu Bar?
Windows 8
Bring Back the Mouse Pointer Drop Shadow

Follow/Contact Us!

   

About MalekTips and the Author

The MalekTips website was created in 1998 by of Envision Programming. The page's goal is to freely disperse computer-related tips, hints, and informative articles. Tips are organized to be easy to find, and are presented clearly, in easy-to-understand language.