Jump to content
MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. ×

cleanup.cmd removing directories


 Share

Recommended Posts

these are all empty folders but i cant seem to delete them i have run unlocker and it has winlogin.exe holding them. i unlocked them and ran the cmd again but still there yet i can manually delete after running unlocker

how do i remove them automatically

RD /S /Q "%systemroot%\Help\"

RD /S /Q "%systemroot%\Config\"

RD /S /Q "%systemroot%\Connection Wizard\"

RD /S /Q "%systemroot%\Cursors\"

RD /S /Q "%systemroot%\msagent\"

RD /S /Q "%systemroot%\ime\"

RD /S /Q "%systemroot%\msapps\"

RD /S /Q "%systemroot%\PeerNet\"

RD /S /Q "%systemroot%\srchasst\"

RD /S /Q "%Program Files%\ComPlus Applications\"

RD /S /Q "%Program Files%\microsoft frontpage\"

RD /S /Q "%Program Files%\movie maker\"

RD /S /Q "%Program Files%\MSXML 4.0\"

RD /S /Q "%Program Files%\windows nt\"

RD /S /Q "%Program Files%\xerox\"

Link to comment
Share on other sites


bump does any1 know?

and also how can i move admin tools in the start menu to the accessories menu in the start menu. u cant delete it but i want to move it i tried this in the clean up but it doesnt work

MOVE /S /Q "%AllUsersProfile%\Start Menu\Programs\Administrative Tools\" "%AllUsersProfile%\Start Menu\Programs\Accessories\Administrative Tools\"

Link to comment
Share on other sites

  • 2 weeks later...

I'm copying my shortcuts in the start menu the following way:

XCOPY "%AllUsersProfile%\STARTM~1\Programme\Mozilla Thunderbird\Mozilla Thunderbird.lnk" "%AllUsersProfile%\STARTM~1\Programme\Internet\E-Mail Client"

Link to comment
Share on other sites

i just wrapped up all my shortcuts in a winrar self extracting exe through run once its just that u cant delete the admin tools menu but u can move it was looking for a move batch line but it doent work

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...