Create a folder with TimeStamp

March 16, 2009 at 05:40:13
Specs: Windows Vista/Lh
hi,
I need to create a folder with the following format:
Foldername:[VariableName]_[Timestamp].
I am providing the variable name as a parameter.
Can u help me in it.
Thanks

See More: Create a folder with TimeStamp

Report •


#1
March 16, 2009 at 18:51:21
:: Code begins....
md foldername_%1_%date%
:: Code ends....

Ensure that the variable you supply %1 and the %date% do not contain invalid characters which include:
* Asterisk
< >[ ] Brackets
= Equal sign
+ Plus sign
" Quotes
\ / Slashes
, . : ; Comma, Period, Colon, Semicolon


Report •
Related Solutions


Ask Question