Before you delve into the world of Windows Batch Files, take a look at the basics.
Then move onto one of the following articles: Defrag Drive Mapping Backup Date These articles and resources have been tested working on Windows 2000 SP4, 2003 SP1 and XP Pro SP2. Please use them as a reference only - I shall not be held responsible for any undesired results from using the knowledge within! Feel free to contact me if you have any further questions or comments, or even if you spot a mistake.