Jump to content

Recommended Posts

Posted

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?


Posted

MOVE /Y "%windir%\3D Windows XP.scr" "%tmp%"

do the same 4 the other 1s, move them back when your done deleting

Posted

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.

Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...