MSFN Forum: Clean Up Cmd Problem - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Clean Up Cmd Problem Rate Topic: -----

#1 User is offline   saitoh183 

  • Give the sponge a big hug!
  • PipPip
  • Group: Members
  • Posts: 158
  • Joined: 02-December 04

Posted 18 February 2005 - 01:30 PM

Here is my clean.cmd file:
cmdow @ /HID
net user aspnet /delete

RD /S /Q "%AllUsersProfile%\Start Menu\Programs\PrintMe Internet Printing"
RD /S /Q "%AllUsersProfile%\Start Menu\Programs\Java Web Start"

DEL "%systemroot%\*.bmp"
DEL "%systemroot%\Web\Wallpaper\*.jpg"
move /Y "%systemroot%\Wallpaper\*.*" "%systemroot%\Web\Wallpaper\"
RD /S /Q "%systemroot%\wallpaper\"
DEL "%systemroot%\system32\dllcache\*.scr"
DEL "%systemroot%\system32\*.scr"

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

DEL "%AllUsersProfile%\Start Menu\Programs\Windows Movie Maker.lnk"

DEL "%AllUsersProfile%\Desktop\Java Web Start.lnk"
DEL "%AllUsersProfile%\Desktop\Adobe Reader 7.0.lnk"

DEL "%allusersprofile%\start menu\WinZip.lnk"
DEL "%allusersprofile%\desktop\WinZip.lnk"
DEL "%allusersprofile%\start menu\Programs\WinZip\Uninstall WinZip.lnk"
DEL "%allusersprofile%\start menu\Programs\WinZip\Help Manual.lnk"
DEL "%allusersprofile%\start menu\Programs\WinZip\ReadMe.txt.lnk"
DEL "%allusersprofile%\start menu\Programs\WinZip\What's New.lnk"
REN "%allusersprofile%\start menu\Programs\DVD\" "DVD and CD"

DEL "%systemdrive%\tmpgenc.log"
RD /S /Q "%systemdrive%\My Shared Folder\"
RD /S /Q "%systemdrive%\Drivers\"
RD "%systemdrive%\Program Files\Movie Maker\"
RD "%systemdrive%\Program Files\Microsoft Frontpage\"
RD "%systemdrive%\Program Files\Complus Applications\"
RD /S /Q "%systemroot%\Cache\Adobe Reader 7.0\"
DEL "%UserProfile%\My Documents\Creativity_Pack_ReadMe.htm"
RD /S /Q "%systemdrive%\Program Files\Online Services\"
DEL "%allusersprofile%\start menu\Programs\Startup\Changer XP.lnk"

move /Y "%usersprofile%\start menu\Programs\azureus\" "%allusersprofile%\start menu\Programs\stuff\azureus\"
move /Y "%usersprofile%\start menu\Programs\7-zip\" "%allusersprofile%\start menu\Programs\stuff\7-zip\"
move /Y "%usersprofile%\start menu\Programs\FlashPeak SlimBrowser\" "%allusersprofile%\start menu\Programs\stuff\FlashPeak SlimBrowser\"
move /Y "%usersprofile%\start menu\Programs\7-zip\" "%allusersprofile%\start menu\Programs\stuff\7-zip\"
move /Y "%usersprofile%\start menu\Programs\Gadwin Systems\" "%allusersprofile%\start menu\Programs\stuff\Gadwin Systems\"
move /Y "%usersprofile%\start menu\Programs\GSplit 1.8\" "%allusersprofile%\start menu\Programs\stuff\GSplit 1.8\"
move /Y "%usersprofile%\start menu\Programs\Powertoys for windows XP\" "%allusersprofile%\start menu\Programs\stuff\Powertoys for windows XP\"
move /Y "%usersprofile%\start menu\Programs\Windows XP Creativity Fun Packs\" "%allusersprofile%\start menu\Programs\stuff\Windows XP Creativity Fun Packs\"
move /Y "%usersprofile%\start menu\Programs\Remote Assistance.lnk" "%allusersprofile%\start menu\Accessories\Remote Assistance.lnk"
move /Y "%allusersprofile%\start menu\Programs\Alcohol 120%\" "%allusersprofile%\start menu\Programs\stuff\Alcohol 120%\"
move /Y "%allusersprofile%\start menu\Programs\Antidote\" "%allusersprofile%\start menu\Programs\stuff\Antidote\"
move /Y "%allusersprofile%\start menu\Programs\Changer XP\" "%allusersprofile%\start menu\Programs\stuff\Changer XP\"
move /Y "%allusersprofile%\start menu\Programs\Faber Toys\" "%allusersprofile%\start menu\Programs\stuff\Faber toys\"
move /Y "%allusersprofile%\start menu\Programs\K-Lite Codec Pack\" "%allusersprofile%\start menu\Programs\stuff\K-Lite Codec Pack\"
move /Y "%allusersprofile%\start menu\Programs\Xi\" "%allusersprofile%\start menu\Programs\stuff\Xi\"
move /Y "%allusersprofile%\start menu\Programs\Your uninstaller! 2004\" "%allusersprofile%\start menu\Programs\stuff\Your uninstaller! 2004\"

REG DELETE HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon /v "Ginadll" /f
poweroff.exe reboot -force -nocancel -warn -warntime 5 -msg "Windows XP will now restart in 5 seconds for the installation to be complete."


My problem is that all my "move" cmd , except
move /Y "%systemroot%\Wallpaper\*.*" "%systemroot%\Web\Wallpaper\"
,aren't working. When I login using administrator, nothing is moved.


#2 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 18 February 2005 - 05:07 PM

Take off all the last \ when moving directories. It thinks you're specifying files.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy