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.
Move/Rename with Time/date
Name: nightnurse Date: October 11, 2007 at 08:22:30 Pacific OS: DOS CPU/Ram: 3.0 / 2gb Product: dell
Comment:
I need to copy a file to an shared drive on my server. The file will be backed up daily as a scheduled task. I need a batch file that will copy the file to a designated folder including a date/time stamp. example:
orig = c:\filename.doc after = t:\backup\filename_10_10_07_16_09.doc (or some understandable variation)
Summary: Hi James This Help, the For Loops are on one line. @echo off rem Make Directory With Name Date and Time for /f "tokens=1-3 delims=/- " %%a in ('date /t') do set XDate=%%a-%%b-%%c for /f "tokens=1-2 de...
Summary: I'm writing a bat file as an assignment at Tech (college) and i need to know this (please!) * how do you display the time, or date without it promting for a new time/date? * I need to be able to allow...
Summary: any one know of a utlitiy out there, that i can use that i can speficy a creation time/date, to stamp to a file? (Without changing the time/date of my computer, and re-saving all the files (vbg)) ...