Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


shahed26

[help] whats the command for deleting

Recommended Posts

hi

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

Share this post


Link to post
Share on other sites

Create a bat file or use WPIs own Delete command.

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

Share this post


Link to post
Share on other sites

Just delete the .lnk files in contained in the user profile.

%documentsandsettings%\Default\Desktop

%documentsandsettings%\Default\Start Menu

Share this post


Link to post
Share on other sites

hi

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?

Share this post


Link to post
Share on other sites

hi i created a batch file and used the same command provided above by kels and it worked perfectly

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.

Share this post


Link to post
Share on other sites
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 me

thanks again

Edited by shahed26

Share this post


Link to post
Share on other sites

@ shahed26

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

Share this post


Link to post
Share on other sites

This will also get you there within the commands of WPI.

DELDIR "%AllUsersProfile%\Start Menu\Programs\Games"

Share this post


Link to post
Share on other sites

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!!!!

Share this post


Link to post
Share on other sites

Whew! Thanks for the info. Im lookin for this. Thanks!

Share this post


Link to post
Share on other sites
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. :thumbup

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...