transmothra (
transmothra) wrote2006-02-11 07:19 am
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Entry tags:
backing up backups
Ho Li Qrap! i've been backing up recursively! i had less than 20Gig of free space on my 200Gig main drive! what a moron! it's taken an hour so far to delete the old backups, and it's not done yet. good fuck! i need to take smarter care of my system. i can't believe i was backing up backups.
anybody know offhand what the argument is to exclude folders, and what commenting scheme XP likes, in a batch file?
i am such a retard.
anybody know offhand what the argument is to exclude folders, and what commenting scheme XP likes, in a batch file?
cls
c:
cd "C:\Documents and Settings\Administrator\Local Settings\Temp"
del /q /s /f *.*
cd "C:\Documents and Settings\Administrator\Local Settings\Temporary Internet Files"
del /q /s /f *.*
cd "C:\Documents and Settings\Default User\Local Settings\Temp"
del /q /s /f *.*
cd "C:\Documents and Settings\Default User\Local Settings\Temporary Internet Files"
del /q /s /f *.*
cd "C:\Documents and Settings\Owner\Local Settings\Temp"
del /q /s /f *.*
cd "C:\Documents and Settings\Owner\Local Settings\Temporary Internet Files"
del /q /s /f *.*
cleanmgr /sagerun:99
DEFRAG C:
DEFRAG D:
C:\WINDOWS\system32\ntbackup.exe backup "@C:\Documents and Settings\Owner\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\backup-alldocs.bks" /a /d "Set created 1/7/2006 at 1:49 AM" /v:no /r:no /rs:no /hc:off /m normal /j "backup-alldocs" /l:s /f "C:\Backups\Backup latest.bkf"
exit
c:
cd "C:\Documents and Settings\Administrator\Local Settings\Temp"
del /q /s /f *.*
cd "C:\Documents and Settings\Administrator\Local Settings\Temporary Internet Files"
del /q /s /f *.*
cd "C:\Documents and Settings\Default User\Local Settings\Temp"
del /q /s /f *.*
cd "C:\Documents and Settings\Default User\Local Settings\Temporary Internet Files"
del /q /s /f *.*
cd "C:\Documents and Settings\Owner\Local Settings\Temp"
del /q /s /f *.*
cd "C:\Documents and Settings\Owner\Local Settings\Temporary Internet Files"
del /q /s /f *.*
cleanmgr /sagerun:99
DEFRAG C:
DEFRAG D:
C:\WINDOWS\system32\ntbackup.exe backup "@C:\Documents and Settings\Owner\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\backup-alldocs.bks" /a /d "Set created 1/7/2006 at 1:49 AM" /v:no /r:no /rs:no /hc:off /m normal /j "backup-alldocs" /l:s /f "C:\Backups\Backup latest.bkf"
exit
i am such a retard.