Hi All,

Its a long time since I wrote a batch file so please bear with.

I'm trying to set a variable within a batch file to the system date,
actually what I really need is the month and day, but I'm not sure if that's
possible.

I tried (with no success):

set var = date /t
echo var

I'm using this batch file to run the command line winzip utilities to go in
and zip up about 2 GB of SQL Server backups.

Maybe I should be using WSH but I've never used it before. If this isn't
possible using a batch file can someone point me to a good WSH refernce
site?

Duane



------
You are subscribed as [EMAIL PROTECTED]
Web Interface: 
http://intm-dl.sparklist.com/cgi-bin/lyris.pl?enter=nt2000&text_mode=&lang=english
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to