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.

Problems with cleanup.cmd

Featured Replies

Hi my cleanup.cmd file does all it is supposed to do, except that it doesn't execute the registry file to delete the runoncex reg files. Can someone take a look at my cleanup.cmd file and tell me what is wrong with it. I want it to run the deleteregistryfiles.reg file from the cd so i included if statements, so i could use the %CDROM% variable as a path. When looking at my cleanup.cmd file please tell me if i did the if statements right as well. Thank you now here is my cleanup.cmd file.

cmdow @ /HID

@echo off

IF EXIST D:\CD.txt set CDROM=D:

IF EXIST E:\CD.txt set CDROM=E:

IF EXIST F:\CD.txt set CDROM=F:

IF EXIST G:\CD.txt set CDROM=G:

IF EXIST H:\CD.txt set CDROM=H:

IF EXIST I:\CD.txt set CDROM=I:

IF EXIST J:\CD.txt set CDROM=J:

shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute..."

net user aspnet /delete

DEL "%systemdrive%\Install\PowerToys\CmdHerePowertoySetup.exe"

DEL "%systemdrive%\Install\PowerToys\DeskmanPowertoySetup.exe"

DEL "%systemdrive%\Install\PowerToys\TweakUI.msi"

DEL "%systemdrive%\Install\RegistryTweaks.reg"

DEL "%systemdrive%\Install\MSN\bootstrap.exe"

DEL "%systemdrive%\Install\MSN\MsnMsgs.msi"

DEL "%systemdrive%\Install\WMP10\mp10setup.exe"

RD "%systemdrive%\Install\WMP10"

RD "%systemdrive%\Install\MSN"

RD "%systemdrive%\Install\PowerToys"

RD "%systemdrive%\Install"

Start %CDROM%\$OEM$\DeleteRegistryFiles.reg


Hi my cleanup.cmd file does all it is supposed to do, except that it doesn't execute the registry file to delete the runoncex reg files.  Can someone take a look at my cleanup.cmd file and tell me what is wrong with it.  I want it to run the deleteregistryfiles.reg file from the cd so i included if statements, so i could use the %CDROM% variable as a path.

I explained how to fix it in this post: http://www.msfn.org/board/index.php?showtopic=27037

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.