rem rem You need to rename this to Backup.bat before using it. rem rem rem This batch file shows how to use the backup utility included with rem Windows 2000 to backup the system data, a folder, and how to use rem a backup "script" created with the GUI version of the utility. rem rem This batch file is for Windows 2000 only. It might work with XP. rem However, the basic principles apply to other versions of Windows. rem rem Replace ##UserName## with your user name. rem You need to create .bks files with the GUI version of NTBackup. rem Please see the Windows 2000 online help for more details on using NTBackup. rem rem rem Backup system state rem ntbackup backup systemstate /j "Job SystemState" /f "d:\SystemState.bkf" rem rem Backup a folder rem ntbackup backup "c:\Data" /j "Job My Folder Backup" /f "d:\DataFolder.bkf" /v:yes rem rem Backup data files rem ntbackup backup "@C:\Documents and Settings\##UserName##\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\MyDocuments.bks" /j "Job Documents" /f "d:\MyDocuments.bkf" /v:yes