Written by:R Teachout8/22/2007 3:01 PM
For example: %DATE% would normally be: Wed 08/22/2007 If you ran the following in a bat script set DATE=%DATE:/=-% set DATE=%DATE: =-% %DATE% would be Wed-08-22-2007 which can then be used for folder creation!! Neato!!
Great Reference Page: http://www.dostips.com/DtTipsStringManipulation.php#_Toc135152729
1 comment(s) so far...
Re: Dos Env Var String Replacement I was looking for exactly for this problem and google led me here... Thank you!
Re: Dos Env Var String Replacement
I was looking for exactly for this problem and google led me here... Thank you!