Computing.Net > Forums > Windows 2000 > Batch file variables in Win2000/NT

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 variables in Win2000/NT

Reply to Message Icon

Name: In Xain
Date: August 23, 2001 at 07:09:34 Pacific
Comment:

I want to create a batch file which will automatically copy a file created on the current day by using the system date variable, i.e. "xcopy /d:%date%"

However the default value of this variable is in the form "Day dd/mm/yy", instead of just "dd/mm/yy". Does anyone know if there is another variable I can use that has a shorter version of the system date, or if a batch file can remove parts of a variable?

Many thanks



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Win 2000 installation mem... Change default email prog...



Post Locked

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


Go to Windows 2000 Forum Home


Sponsored links

Ads by Google


Results for: Batch file variables in Win2000/NT

Batch File, Variable in File name? www.computing.net/answers/windows-2000/batch-file-variable-in-file-name/61803.html

Batch file commands in win2000 www.computing.net/answers/windows-2000/batch-file-commands-in-win2000/57027.html

Batch files in Win2000 www.computing.net/answers/windows-2000/batch-files-in-win2000/34100.html