Jump to content

User Accounts - which ones?


Recommended Posts

Re: cleanup.cmd, i want to delete some user specific shortcuts on the desktop, namely DVD Shrink and Spybot1.3 as well some more shortcuts in programs files. now, i know that not all shortcuts belong to one specific user. i have looked at the profiles and i see three: All Users, Default User and "my name" (the account that's under my name). what i would like to know is, which one is the Administrator account, and what would i have to enter in my cleanup.cmd to delete user specific shortcuts. currently i have :

RD /S /Q "%Userprofile%\Start Menu\Programs\DVD Shrink 3.1.lnk"

RD /S /Q "%Userprofile%\Start Menu\Programs\Spybot - Search & Destroy.lnk"

RD /S /Q "%Userprofile%\Start Menu\Programs\Outlook Express.lnk"

which are the ones that do not function as intended.

Link to comment
Share on other sites


RD is used to Remove Dirs, to delete shortcuts you'll need to use the command DEL like:

DEL /F /Q "%Userprofile%\Start Menu\Programs\DVD Shrink 3.1.lnk"
DEL /F /Q "%Userprofile%\Start Menu\Programs\Spybot - Search & Destroy.lnk"
DEL /F /Q "%Userprofile%\Start Menu\Programs\Outlook Express.lnk"

normally shortcuts are created on your user profile, if that is not the case you'll need to use the variable %ALLUSERSPROFILE% :)

also next time try to use :P

tags to left it clear

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