Wednesday 25 June 2008

Manage Shortcuts in Start Menu using cmd.exe

Shortcuts in Start Menu can be easily accessed via two locations in cmd.exe:

C:\Documents and Settings\All Users\Start Menu
C:\Documents and Settings\Your User\Start Menu

This is useful e.g. if you want to quickly delete a shortcut, or duplicate shortcuts:

del "Windows Media Player (2).lnk"


Doing the same operation by right clicking and pressing delete can take up to 5s compared with less than 1s using the command-line.

No comments: