Sign in | Help

Martin Zugec blog

This Blog

  • Home
  • Contact

Syndication

  • RSS for Posts
  • Atom
  • RSS for Comments

Search

  • Go

Tags

  • Active Directory
  • Application Virtualization
  • Citrix
  • Compatibility
  • Deployment
  • Development
  • Fun
  • Interesting web
  • Law
  • Live
  • Monad
  • My blog
  • Other
  • PowerShell
  • Presentations
  • Productivity
  • Projects
  • Scripting
  • SDS
  • Security
  • Terminal Services
  • Tips&Tricks
  • Utilities
  • Vista
  • Windows Vista/Longhorn

Community

  • Home
  • Blogs
  • Media
  • Groups

Email Notifications

  • Go

Archives

  • June 2008 (10)
  • May 2008 (16)
  • April 2008 (2)
  • March 2008 (14)
  • February 2008 (6)
  • January 2008 (4)
  • December 2007 (5)
  • November 2007 (6)
  • June 2007 (2)
  • May 2007 (5)
  • March 2007 (4)
  • February 2007 (4)
  • January 2007 (8)
  • December 2006 (1)
  • June 2006 (3)
  • May 2006 (3)
  • April 2006 (9)
  • March 2006 (7)
  • February 2006 (5)
  • January 2006 (2)
  • December 2005 (2)
  • November 2005 (7)
  • October 2005 (14)
  • September 2005 (28)

Nice little trick to generate specific errorlevel

Hey guys! This is extremely simple method to generate specified errorlevel: Cmd /c Exit /B For example using Cmd /c Exit /B 99 will generate errorlevel 99, if you just want to clear the errorlevel, run Cmd /c Exit /B 0
Published Wed, May 3 2006 13:44 by martin
 
Questions? Contact Susan at Susan-at-msmvps.com. Each post's copyright held by the original author. All rights reserved. Blog site is an independent site not sponsored by Microsoft.
Our servers would like to thank www.ownwebnow.com and www.exchangedefender.com. We wouldn't be here without the generosity of Vlad Mazek and his companies.

Powered by Community Server (Commercial Edition), by Telligent Systems