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.

cleanup.cmd not working

Featured Replies

Something doesnt work with my cleanup.cmd file, it will run, but comes up saying windows cannot find any of the files in it, and they are there, can anyone help me? I think it found the first 2 actually, but nothing else.

@echo off

DEL "%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk"
DEL "%AllUsersProfile%\Start Menu\Windows Catalog.lnk"

DEL "%AllUsersProfile%\Start Menu\Programs\SlySoft\AnyDVD\AnyDVD.Ink"
DEL "%AllUsersProfile%\Start Menu\Programs\SlySoft\AnyDVD\Register AnyDVD.Ink"

DEL "%AllUsersProfile%\Desktop\Internet Explorer.lnk"
DEL "%AllUsersProfile%\Desktop\AnyDVD.lnk"
DEL "%AllUsersProfile%\Desktop\Nero StartSmart.lnk"
DEL "%AllUsersProfile%\Desktop\CyberLink PowerDVD.lnk"
DEL "%AllUsersProfile%\Desktop\AnyDVD.lnk"

RD /S /Q "%AllUsersProfile%\Desktop\Special Folder Icons"

DEL "%APPDATA%\Microsoft\Internet Explorer\Quick Launch\IsoBuster.Ink"
DEL "%APPDATA%\Microsoft\Internet Explorer\Quick Launch\Nero StartSmart.Ink"
DEL "%APPDATA%\Microsoft\Internet Explorer\Quick Launch\Launch Internet Explorer Browser.Ink"

DEL "%systemdrive%\bootlogo.cmd"
DEL "%systemdrive%\start.cmd"
DEL "%systemdrive%\fonts.exe"
DEL "%systemdrive%\xpize.exe"

EXIT


Some shortcuts (Internet explorer shortcuts) are not created until the first time when you log on to your desktop, this might be causing some problems.

I also suggest you add the /Q switch to the delete entries when it's complete so it will suppress the messages in case an error is encountered.. Of course now that you're testing it it's wise to not have the switches in place yet so you will see if it works.

*EDIT*

Found some errors.. In the following files you use .INK instead of .LNK. Change the extensions to the correct ones.

DEL "%AllUsersProfile%\Start Menu\Programs\SlySoft\AnyDVD\AnyDVD.Ink"
DEL "%AllUsersProfile%\Start Menu\Programs\SlySoft\AnyDVD\Register AnyDVD.Ink"

DEL "%APPDATA%\Microsoft\Internet Explorer\Quick Launch\IsoBuster.Ink"
DEL "%APPDATA%\Microsoft\Internet Explorer\Quick Launch\Nero StartSmart.Ink"
DEL "%APPDATA%\Microsoft\Internet Explorer\Quick Launch\Launch Internet Explorer Browser.Ink"

I'd also advise changing

RD /S /Q "%AllUsersProfile%\Desktop\Special Folder Icons"

to

RD /S /Q "%AllUsersProfile%\Desktop\Special Folder Icons\"

Some shortcuts (Internet explorer shortcuts) are not created until the first time when you log on to your desktop, this might be causing some problems.

Any way to remove those too?

  • Author

yes i still need to remove the internet explorer icon, and i need the correct command to delete a folder

RD /S /Q "path to folder"

The IE desktop icon can be removed with a registry tweak.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu]
"{871C5380-42A0-1069-A2EA-08002B30309D}"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
"{871C5380-42A0-1069-A2EA-08002B30309D}"=dword:00000001

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

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.