Jump to content

Recommended Posts

Posted

I am trying to do what Big Poppa Pump describes in the post in this thread, although I would not be using inf files.

http://www.msfn.org/board/index.php?showto...25212&st=10&hl=

I remove all the default favorites on the 2nd boot after the first runonceex (inf file) has completed with a second runonceex (inf file) imported from the first runonceex!

Basically, I have a select few folders that won't delete through cleanup.cmd, so I would like to have them delete on the next reboot. Then the entry and the file could be deleted afterwards. Anyone help me out?


Posted

Maybe correct syntax may help, from your post in that other thread.

Try

RD /S /Q "%AllUsersProfile%\Documents\My Music"
RD /S /Q "%AllUsersProfile%\Documents\My Pictures"
RD /S /Q "%AllUsersProfile%\Documents\My Videos"

RD /S /Q "%UserProfile%\My Documents\My Music"
DEL "%UserProfile%\My Documents\My Pictures\Sample Pictures.lnk"
RD /S /Q "%UserProfile%\Favorites"
DEL "%UserProfile%\Start Menu\Programs\Accessories\Address Book.lnk"

DEL "%SystemRoot%\Documents and Settings\Default User\Start Menu\Programs\Remote Assistance.lnk"
DEL "%SystemRoot%\Documents and Settings\Default User\Start Menu\Programs\Windows Media Player.lnk"

RD /S /Q "%UserProfile%\Start Menu\Programs\Accessories"
RD /S /Q "%SystemRoot%\Documents and Settings\Default User\Start Menu\Programs\Accessories"

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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