C
Cliff Cotterill
How do you create a unique filename in a batch file?
Can the TIME /t and DATE /t be concatenated to a filename variable?
Can the TIME /t and DATE /t be concatenated to a filename variable?
- - - - - - - - - - begin screen capture WinXP - - - - - - - - - -Cliff said:How do you create a unique filename in a batch file?
Can the TIME /t and DATE /t be concatenated to a filename variable?
HiCliff said:How do you create a unique filename in a batch file?
Can the TIME /t and DATE /t be concatenated to a filename variable?
Torgeir Bakken (MVP) said:Hi
One way is to from your batch file create a temporary vbscript
file on the fly and pick up the result, more here:
http://groups.google.co.uk/[email protected]
and
http://www.jsiinc.com/SUBR/tip8600/rh8600.htm
You can do it with "pure" batch file as well, using e.g the batch date
time functions from Ritchie Lawrence batch library available at
http://www.commandline.co.uk/lib