DigeratiPrime Posted September 23, 2004 Posted September 23, 2004 Hi does anyone know a exclude delete command?I am using cleanup.cmd to delete the old junk leftover from previous versions of windows. DEL "%systemroot%\*.bmp"DEL "%systemroot%\system32\dllcache\*.scr"DEL "%systemroot%\system32\*.scr"I would like to keep however certain screensavers from being deleted.In my $OEM$\$$\system32 folder I have for example, "3D Windows XP.scr" and "fish.scr"Anyone know how to do this?
MCT Posted September 23, 2004 Posted September 23, 2004 MOVE /Y "%windir%\3D Windows XP.scr" "%tmp%"do the same 4 the other 1s, move them back when your done deleting
DigeratiPrime Posted September 23, 2004 Author Posted September 23, 2004 ah, thats a good idea. Thanks.I also just now figured out i could always make a simple sfx archive and run it in runonceex.
DigeratiPrime Posted September 23, 2004 Author Posted September 23, 2004 sorry I meant to extract the files to the directory.But then again i have cleanup.cmd at the end of runonceex, so it would delete it again. So I would have to run that after cleanup.cmd.
MCT Posted September 23, 2004 Posted September 23, 2004 but that takes up space & if u have alot on your cd its kinda pointless 2
DigeratiPrime Posted September 23, 2004 Author Posted September 23, 2004 actually wouldnt it take up less space?the scr.rar file would be smaller than scr/...
MCT Posted September 23, 2004 Posted September 23, 2004 the ONLY way u would actually gain from that is if u deleted them right from the cd then rar sfx the 1's u wanna keep..7zip is probly better compression tho
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now