[help] whats the command for deleting how to delete desktop icons and start, program folders
#1
Posted 20 August 2007 - 07:42 PM
when 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
#4
Posted 28 August 2007 - 06:47 AM
Steam Trout, on Aug 21 2007, 10:06 PM, said:
hi
i 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 menu
thanks in advance
#5
Posted 28 August 2007 - 07:23 AM
del /s/q "%allusersprofile%\desktop\*.lnk"
#6
Posted 28 August 2007 - 07:24 AM
%documentsandsettings%\Default\Desktop
%documentsandsettings%\Default\Start Menu
#7
Posted 28 August 2007 - 10:44 AM
thank you
#8
Posted 28 August 2007 - 11:07 AM
i 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\Desktop
for 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?
#9
Posted 28 August 2007 - 11:11 AM
del /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.
#10
Posted 28 August 2007 - 11:15 AM
Kelsenellenelvian, on Aug 28 2007, 02:23 PM, said:
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 me
thanks again
This post has been edited by shahed26: 28 August 2007 - 11:49 AM
#11
Posted 30 August 2007 - 04:23 PM
RD /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 WPI
Good luck
#12
Posted 03 September 2007 - 08:20 PM
DELDIR "%AllUsersProfile%\Start Menu\Programs\Games"
#13
Posted 06 September 2007 - 02:03 PM
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!!!!
#14
Posted 08 May 2008 - 03:23 AM
#15
Posted 13 May 2008 - 11:10 AM
- ← Runtime and JavaScript errors
- Windows Post-Install Wizard (WPI)
- Update from WPI 5.5 to 7.3.0 help →



Help

Back to top









