Month: April 2008
Converting Logfile to DateName
This batch file will take a sourcefile and rename it based on the current timestamp. We usually call this batch file after we use RoboCopy to mirror a folder. This can be run or called by: “datename.bat log.txt” which will rename “log.txt” to “200804100945AM.log.txt” ——–datename.bat———- @Echo OFF TITLE DateName REM DateName.CMD REM takes a filename Read more about Converting Logfile to DateName[…]
Using Robocopy to Mirror Folders
The following batch file can take a source folder and make an exact copy of that folder to another location. This can be useful if you want to have an automated backup run at a specific time by setting up a scheduled task to call this file. Robocopy will ensure that all NTFS attributes (security Read more about Using Robocopy to Mirror Folders[…]