August 21, 200718 yr 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
August 28, 200718 yr Author 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
August 28, 200718 yr del /s/q "%userprofile%\desktop\*.lnk"del /s/q "%allusersprofile%\desktop\*.lnk"
August 28, 200718 yr Just delete the .lnk files in contained in the user profile.%documentsandsettings%\Default\Desktop%documentsandsettings%\Default\Start Menu
August 28, 200718 yr Author thanks so much for your help, i will try it and will you know if it works,thank you
August 28, 200718 yr Author 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?
August 28, 200718 yr Author 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.
August 28, 200718 yr Author 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, 200718 yr by shahed26
August 30, 200718 yr @ 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
September 4, 200718 yr This will also get you there within the commands of WPI.DELDIR "%AllUsersProfile%\Start Menu\Programs\Games"
September 6, 200718 yr Author 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!!!!
May 13, 200818 yr 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.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now