shahed26 Posted August 21, 2007 Share Posted August 21, 2007 hiwhen i install my xp that i created and slipstreamed lots of addons, i get so many files on desktop (obviously prog shortcuts) but i need help on how to delete this items from desktop, and some from start=programs, so on first boot my desktop will look much cleaner. please help me with commands to use for deleting unnecessary shortcuts from desktop and start menu programs as well thanks in advance Link to comment Share on other sites More sharing options...
shahed26 Posted August 21, 2007 Author Share Posted August 21, 2007 or is there a bat file i can create to do this? Link to comment Share on other sites More sharing options...
Steam Trout Posted August 21, 2007 Share Posted August 21, 2007 Create a bat file or use WPIs own Delete command. Link to comment Share on other sites More sharing options...
shahed26 Posted August 28, 2007 Author Share Posted August 28, 2007 Create a bat file or use WPIs own Delete command.hii have been fiddling about with my wpi v.6.2, and i cant seem to find a way to delete all these desktop and start menu shortcuts. plz if possible show me an example command to use for deleting desktop or start menu shortcuts, so when i install my clean xp, i will have a nice and clean desktop and start menuthanks in advance Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted August 28, 2007 Share Posted August 28, 2007 del /s/q "%userprofile%\desktop\*.lnk"del /s/q "%allusersprofile%\desktop\*.lnk" Link to comment Share on other sites More sharing options...
zorphnog Posted August 28, 2007 Share Posted August 28, 2007 Just delete the .lnk files in contained in the user profile.%documentsandsettings%\Default\Desktop%documentsandsettings%\Default\Start Menu Link to comment Share on other sites More sharing options...
shahed26 Posted August 28, 2007 Author Share Posted August 28, 2007 thanks so much for your help, i will try it and will you know if it works,thank you Link to comment Share on other sites More sharing options...
shahed26 Posted August 28, 2007 Author Share Posted August 28, 2007 hii did try it, but i was unsuccesfull. i am logged in as aministrator and dats were my desktop shortcuts are in:C:\Documents and Settings\Administrator\Desktopfor example i want to delete desktop icons like "orbit, CCleaner, etc.and thats how i used the above commands:del /s/q "%userprofile%\desktop\*orbit.lnk"still it did not work. any other ways or maybe a batch file to do this? Link to comment Share on other sites More sharing options...
shahed26 Posted August 28, 2007 Author Share Posted August 28, 2007 hi i created a batch file and used the same command provided above by kels and it worked perfectlydel /s/q "%userprofile%\desktop\*orbit.lnk"but strange doesnt work in wpi.thanks kels now i can run my batch file through wpi, to get rid of unnecasary items. Link to comment Share on other sites More sharing options...
shahed26 Posted August 28, 2007 Author Share Posted August 28, 2007 (edited) del /s/q "%userprofile%\desktop\*.lnk"del /s/q "%allusersprofile%\desktop\*.lnk"hi now that you showed me how to delete desktop shortcuts, please show me what command to use to delete start menu programs folder, for example i want to delete the folder "games" from my start programs. plz help methanks again Edited August 28, 2007 by shahed26 Link to comment Share on other sites More sharing options...
DJPro Posted August 30, 2007 Share Posted August 30, 2007 @ shahed26RD /S /Q "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\Games\"Put this in a .bat or .cmd file and you can use it in WPIGood luck Link to comment Share on other sites More sharing options...
lawrenca Posted September 4, 2007 Share Posted September 4, 2007 This will also get you there within the commands of WPI.DELDIR "%AllUsersProfile%\Start Menu\Programs\Games" Link to comment Share on other sites More sharing options...
shahed26 Posted September 6, 2007 Author Share Posted September 6, 2007 Hi All you people out there, thank you so much for your time and help. all the commands provided above works great! now i can get rid of these junk shortcuts and folders.thanks again!!!! Link to comment Share on other sites More sharing options...
efrain Posted May 8, 2008 Share Posted May 8, 2008 Whew! Thanks for the info. Im lookin for this. Thanks! Link to comment Share on other sites More sharing options...
ghaffar Posted May 13, 2008 Share Posted May 13, 2008 Whew! Thanks for the info. Im lookin for this. Thanks!Thanx a lot.I was searching for this topic and it is really usefull for me. 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