Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

random cleanup.cmd problems

Featured Replies

Here is my cleanup.cmd file:

cmdow @ /HID@echo off
REG DELETE HKLM\software\Microsoft\Windows\CurrentVersion\Run /V "Cleanup" /f
DEL "%systemroot%\*.bmp"DEL "%systemroot%\system32\dllcache\*.scr"DEL "%systemroot%\system32\*.scr"
DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Update.lnk"DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Set Program Access and Defaults.lnk"DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Catalog.lnk"
RD /S /Q %systemdrive%\Documents and Settings\John\Favorites\Links
net user aspnet /delete
RD /S /Q %allusersprofile%\Start Menu\Programs\PrintMe Internet PrintingRD /S /Q %systemdrive%\Drivers\
DEL "%allusersprofile%\Desktop\*.lnk"DEL "%userprofile%\Desktop\*.lnk"
attrib -R "%allusersprofile%\Application Data\Microsoft\Network\Connections\Pbk\*.*" /S /D
shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute, this will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart!"
EXIT

Now everything works except for:

RD /S /Q %allusersprofile%\Start Menu\Programs\PrintMe Internet Printing

and...

RD /S /Q %systemdrive%\Documents and Settings\John\Favorites\Links

very odd :)

Thanks

I don't know for sure, but isn't :

RD /S /Q %allusersprofile%\Start Menu\Programs\PrintMe Internet Printing

a link? So you have to use del instead of rd?

You're forgetting that files/folders that contain spaces need to be wrapped in quotations.

RD /S /Q "%allusersprofile%\Start Menu\Programs\PrintMe Internet Printing"RD /S /Q "%systemdrive%\Documents and Settings\John\Favorites\Links"

To see what I mean, type %systemdrive%\Documents and Settings\John from the Start > Run box and it'll say its not found (see where it stops just after "documents"?). Wrapping it in quotes afterwards fixes it.

AaronXP is 100% correct... quotation marks are all you need to fix it...

Print Me Internet Printing is installed by Adobe Reader 6, and it is a directory...

To Remove the links folder completetly is a reg hack.

;Remove Links Folder From Internet Explorer [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar]"LinksFolderName"=""

Once you run your regtweeks, delete the folder and it won't come back.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.