Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi!
I'm trying to create a zip file with the date as
name ie. 18-06-2009.zipI believe I can do this with a variable but I don't
know how. My not working script looks like
this:set filename = "D:\Web\" date ".zip"
zip -r -q -e -9 -S filename d:\web\DokumenterHope someone can help
Thanks
-M

you sure you want to rename your file like that? i don't know about your %DATE% variable, but if it contains "/" , then you can't create a file like that.

There is no built-in %date% in DOS.
LOL
=====================================
If at first you don't succeed, you're about average.M2

![]() |
![]() |
![]() |
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |