One Man's Notes
Friday, September 18, 2015
Don't let environment values persist after a batch file runs
To prevent environment variables declared in a batch from being persisted after the batch file is run, use this command before setting them:
setlocal
Reference:
http://ss64.com/nt/setlocal.html
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment