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
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?
Summary: Hello, I'm having a problem with a batch file. I am trying to use a variable in a filename so that when run the output will go to a time stamped log file. Here's the type of command I'm trying to run...
Summary: Hello, I have problems writing batch file. I need to read from a file lines in FOR-loop and write them to another file without CR/LR. I have tried to read lines to variables and connect them afterward...
Summary: I am running WIN2000 Professional on a workstation accessing a Novell 4.11 file server. I have a DOS application on the file server that has a batch file to run it. We use this batch file from Win95...