Thursday, July 14, 2011

How to: make a batch file randomly select something?

You would need to write a console app that exits on a randomly generated error code, then call that app from your batch file and then branch based on the error code output from the app.

No comments:

Post a Comment