|
| | |||||||
| Windows XP Discuss the Microsoft Windows XP Operating System |
| | LinkBack | Thread Tools |
| |||
| Rename in a batch file This is a batch programming issue, so I'm not sure if this is the right newsgroup. If not, maybe someone could suggest a better one. In a batch file which runs a backup I want the last line to rename the log file name_of_backup_job.txt to name_of_backup_job_today's date.txt with the date in YMD format so that files will sort into order properly in a directory listing. How do I extract the date into a variable, and how can I get it into YMD format? Grateful for advice. |
| Bookmarks |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need Batch file to rename file based on file size | Brandon | Windows XP | 14 | 10-17-2008 01:45 AM |
| rename batch file | mas_pogi | Windows XP | 1 | 06-27-2008 02:40 AM |
| Rename a batch of file in sequence | kaci | Windows Vista | 3 | 02-28-2008 05:30 AM |
| Batch file to rename with time and date | alexanderd79@googlemail.com | Windows XP | 1 | 11-23-2007 05:00 AM |
| Rename in a batch file | simonc | Windows XP | 4 | 01-04-2007 06:18 AM |
| New To Technology Questions? | Do You Need Help with Your Computer or Device? | Do You Need Help with this site? |