arichexe
asked on
datetime stamp
Utilizing wzzip, how would I write a script that plugs a system datetime stamp on the zip file name?
For example,
"c:\Program Files\WinZip\WZZIP.EXE" c:\docs<datetime stamp>.zip c:\*.doc
would produce:
c:\docs10-19-2004 03:00.zip
For example,
"c:\Program Files\WinZip\WZZIP.EXE" c:\docs<datetime stamp>.zip c:\*.doc
would produce:
c:\docs10-19-2004 03:00.zip
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
'VBScript
DIM fso, NewsFile, oFS
var = cSTR(now())
var = replace(var, "/" , "-" )
var = replace(var, ":" , "_" )
var = replace(var, " " , "~" )
Set fso = CreateObject("Scripting.Fi
Set NewsFile = fso.CreateTextFile("c:\doc
NewsFile.Close