twizt3d Posted January 17, 2005 Share Posted January 17, 2005 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 offDEL "%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 Link to comment Share on other sites More sharing options...
Gagorian Posted January 17, 2005 Share Posted January 17, 2005 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"toRD /S /Q "%AllUsersProfile%\Desktop\Special Folder Icons\" Link to comment Share on other sites More sharing options...
Nanaki Posted January 17, 2005 Share Posted January 17, 2005 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? Link to comment Share on other sites More sharing options...
twizt3d Posted January 18, 2005 Author Share Posted January 18, 2005 yes i still need to remove the internet explorer icon, and i need the correct command to delete a folder Link to comment Share on other sites More sharing options...
MCT Posted January 18, 2005 Share Posted January 18, 2005 RD /S /Q "path to folder" Link to comment Share on other sites More sharing options...
Cartoonite Posted January 19, 2005 Share Posted January 19, 2005 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 Link to comment Share on other sites More sharing options...
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