Jump to content

deleting shortcuts


Recommended Posts

what's the best way to delete some shortcuts and the respective folder from the start menu?!?

i'have localized all folders that i want to be deleted this folders are installed when i install the software....

there are folders in the All users and in my account name!!

if i do like i think that i have to do ... :)

like this:

cd c:\Documents and settings\all users\start menu\programs

RD /s /q FOLDER1

RD /s /q FolDER2

....

if exists what is the documents and settings "shortcut" - (%systemdrive% lik this)

thks

Link to comment
Share on other sites


i'have localized all folders that i want to be deleted this folders are installed when i install the software....
What??? I didn't understand you...
if exists what is the documents and settings "shortcut" - (%systemdrive% lik this)

Their isn't any. You'll have to use %systemdrive%\Document and Settings and hope its there...

Link to comment
Share on other sites

soory abou my english....

i install all extra software :) with one batch file .... guirunone (start.cmd)

and then i get the shortcuts in start menu!!!

but i don't need them all....

i want to delete some...

i think the best way maybe is

RD /S /Q %systemdrive%\docs_set\start_meu\progrmas\FOLDERTODEL1

RD /S /Q %systemdrive%\docs_set\start_meu\progrmas\FOLDERTODEL2

...

thks anyway... :rolleyes:

Link to comment
Share on other sites

I might add that there is this great tool (freeware from Nirsoft):

http://freehost14.websamba.com/nirsoft/utils/nircomline.html

http://freehost14.websamba.com/nirsoft/uti...ircomline2.html

that being called from within a batch or .cmd file, can simplify noticeably the sintax of the commands.

It has an incredibly vast number of other uses, by the way.

jaclaz

Link to comment
Share on other sites

if exists what is the documents and settings "shortcut" - (%systemdrive% lik this)

Their isn't any. You'll have to use %systemdrive%\Document and Settings and hope its there...

Erm... %allusersprofile% for all users and %userprofile% for current user.

Link to comment
Share on other sites

if exists what is the documents and settings "shortcut" - (%systemdrive% lik this)

Their isn't any. You'll have to use %systemdrive%\Document and Settings and hope its there...

Erm... %allusersprofile% for all users and %userprofile% for current user.

Those aren't for "C:\Documents and Settings" but for "C:\Documents and Settings\<User>" and "C:\Documents and Settings\All Users" wich are not the same :)

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