Jump to content

[help] whats the command for deleting


 Share

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

Link to comment
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

Link to comment
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?

Link to comment
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.

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

  • 8 months later...

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...