Computing.Net > Forums > Programming > Batch file help

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Batch file help

Reply to Message Icon

Name: roamingphantom
Date: November 16, 2006 at 11:00:01 Pacific
OS: Win XP
CPU/Ram: 2.4ghzP4 2 gig ram
Product: DELL
Comment:

Hello all
I have the following in a batch file. Basically what it does it copy a set of files into a zip file and store the zip in a different location. How can i add the date to the zip file without manually renaming the file everytime i run the batch file...

"C:\Program Files\WinZip\WINZIP32" -a PcsAxysInfs.zip M:\pcs\inf\*.inf

Thanks



Sponsored Link
Ads by Google

Response Number 1
Name: tonysathre
Date: November 17, 2006 at 15:11:18 Pacific
Reply:

Use the variable %date% in the filename.

"Computer security." — Oxymoron


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Batch file help

batch file help www.computing.net/answers/programming/batch-file-help/13830.html

Batch File Help www.computing.net/answers/programming/batch-file-help-/11464.html

batch file help www.computing.net/answers/programming/batch-file-help/190.html