removing shortcuts

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

sulasno

Thread Starter
Joined
Jul 3, 2010
Messages
162
what are the extensions of shortcuts stored in "C:\Documents and Settings\All Users\Start Menu\Programs\" ? trying to use a batch file to remove them
 

sulasno

Thread Starter
Joined
Jul 3, 2010
Messages
162
thanks I tried .lnk but it didn't work I use a batch file to download a frequently updated application (actually monthly); after installation, the application places shortcuts in the Desktop and the Start Menu; with the batch file, it will delete the shortcuts after installation
 
Joined
Jul 6, 2010
Messages
619
Did you enclose the path in quotes?

example: "%userprofile%\Start Menu\Programs\YourShortcut.lnk"

If it failed, what error message did you get when the batch executed?
 

sulasno

Thread Starter
Joined
Jul 3, 2010
Messages
162
:) it is working now; DEL /q "C:\Documents and Settings\All Users\Start Menu\Programs\Belarc Advisor.lnk"
 
Joined
Jul 6, 2010
Messages
619
You can also use:

DEL /q "%ALLUSERSPROFILE%\Start Menu\Programs\Belarc Advisor.lnk"

All the best, dude
 

sulasno

Thread Starter
Joined
Jul 3, 2010
Messages
162
thanks ................................................................................................................... I am using Palemoon to access this site and I don't know why line breaks are removed
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top