November 6, 200421 yr i'm having a similar problem with my cleanup.cmd. It used to work, then i startedadding other clean-up commands to it so it looks like this. now the only thing that works is the shutdown command which triggers. Can anybody see any mistakes and please show me how it's done? Thankx very muchP.S. could someone tell me the command for deleting only the shortcuts under the logged in user?cmdow @ /HIDshutdown.exe -r -f -t 90 -c "Windows XP will now restart in 90 seconds...giving enough time for shortcuts to update and for the shell to fully load before restarting"net user aspnet /deleteDEL "%allusersprofile%\desktop\Adobe Reader 6.lnk"DEL "%allusersprofile%\start menu\Programs\Adobe Reader 6.lnk"DEL "%allusersprofile%\start menu\Programs\PrintMe Internet Printing"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\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"DEL "%allusersprofile%\desktop\Kazaa Lite K++.lnk"DEL "%allusersprofile%\desktop\Microsoft Mouse.lnk"DEL "%allusersprofile%\desktop\Nero StartSmart.lnk"DEL "%allusersprofile%\desktop\Spybot - Search & Destroy.lnk"RD /S /Q "%systemroot%\Cache\Adobe Reader 6\"RD /S /Q %systemdrive%\Drivers\RD /S /Q %systemdrive%\install\EXIT
Create an account or sign in to comment