for /F "tokens=2*" %? in ('date/T') do set CDATE=%?
This code will take the %date% function and remove the day and keep the number with seperators... Variable will be %cdate% not %date%
Example:BEFORE NEW CODEecho %date%
Thu 05/14/2009
AFTER NEW CODEecho %cdate%
05/14/2009
Adam D. Technology
Adam Dellos
adellos@adamdtechnology.com(520) 591-3891
http://www.adamdtechnology.com"We give you twice the work in half the time and leave you with a peace of mind!"