Raoul90 Posted September 27, 2008 Posted September 27, 2008 Hey,cmdow @ /HIDshutdown.exe -r -f -t 120 -c "Windows XP zal herstarten binnen 2 minutenn.."net user aspnet /deleteDEL "%systemdrive%\setaid2.log"DEL "%systemdrive%\InstallUtil.InstallLog"DEL "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\Ashampoo Burning Studio 8.lnk"DEL "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\SnagIt 9.lnk"DEL "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\QuickTime Player.lnk"DEL "%UserProfile%\Desktop\DCleaner.lnk"DEL "%UserProfile%\Desktop\Foxit PDF Editor.lnk"DEL "%UserProfile%\Desktop\Foxit Reader.lnk"DEL "%UserProfile%\Desktop\SpeedFan.lnk"DEL "%UserProfile%\Desktop\QuickPar.lnk"DEL "%UserProfile%\Desktop\PC Wizard 2008.lnk"DEL "%UserProfile%\Desktop\EVEREST Ultimate Edition.lnk"DEL "%AllUsersProfile%\Desktop\Malwarebytes' Anti-Malware.lnk"DEL "%AllUsersProfile%\Desktop\PowerISO.lnk"DEL "%AllUsersProfile%\Desktop\SnagIt 9.lnk"DEL "%AllUsersProfile%\Desktop\VLC media player.lnk"DEL "%AllUsersProfile%\Desktop\QuickTime Player.lnk"DEL "%AllUsersProfile%\Desktop\SnagIt 9 Editor.lnk"RD /S /Q %systemdrive%\Downloads\EXITThats my cleanup.cmd, but it doesnt work good.It deletes the Dowloads map (this is the Install map, but renamed it).It also deletes the 2 logfiles.But it doesnt delete the icons, and i want them to be deleted?So what am i doing wrong?Thanks in advance.
Mr. Shady Posted September 27, 2008 Posted September 27, 2008 Raoul90, I'm used you batch and it works. Try to place "shutdown..." (without -f key) and "net user..." in the end of batch:cmdow @ /HIDDEL "%systemdrive%\setaid2.log"DEL "%systemdrive%\InstallUtil.InstallLog"DEL "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\Ashampoo Burning Studio 8.lnk"DEL "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\SnagIt 9.lnk"DEL "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\QuickTime Player.lnk"DEL "%UserProfile%\Desktop\DCleaner.lnk"DEL "%UserProfile%\Desktop\Foxit PDF Editor.lnk"DEL "%UserProfile%\Desktop\Foxit Reader.lnk"DEL "%UserProfile%\Desktop\SpeedFan.lnk"DEL "%UserProfile%\Desktop\QuickPar.lnk"DEL "%UserProfile%\Desktop\PC Wizard 2008.lnk"DEL "%UserProfile%\Desktop\EVEREST Ultimate Edition.lnk"DEL "%AllUsersProfile%\Desktop\Malwarebytes' Anti-Malware.lnk"DEL "%AllUsersProfile%\Desktop\PowerISO.lnk"DEL "%AllUsersProfile%\Desktop\SnagIt 9.lnk"DEL "%AllUsersProfile%\Desktop\VLC media player.lnk"DEL "%AllUsersProfile%\Desktop\QuickTime Player.lnk"DEL "%AllUsersProfile%\Desktop\SnagIt 9 Editor.lnk"RD /S /Q %systemdrive%\Downloads\net user aspnet /deleteshutdown.exe -r -t 10 -c "Windows XP will restart in 10 secons, don't worry!"EXIT
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now