Annoyances.org
Home » Windows XP Discussion Forum » Message 1004167963 » Entire Thread Search | Help | Home
  
Question about 'Run a Shortcut from the Command Prompt'
Showing all messages in thread #1004167963
Windows XP Annoyances Discussion Forum


The following are all of the messages in this thread (2 in all), shown in chronological order. Click any message subject to view that message by itself or to view the thread hierarchy.
Question about 'Run a Shortcut from the Command Prompt'
Saturday, October 27, 2001 at 12:32 am
Posted by ron (3 messages posted)

I have a question about Run a Shortcut from the Command Prompt:

i have a patch that is running with dos...but thing is it wont run in the command prompt of win xp...i have to change some commands...can somebody help me on this?

[Reply or follow-up to this message]

Tip: Run a free scan for common Windows errors ad

re: Question about 'Run a Shortcut from the Command Prompt'
Saturday, April 27, 2002 at 4:40 pm
Posted by jasonm (1 messages posted)

On Windows 2000 and XP (and possibly NT; I've never tried it) you can add .LNK to the PATHEXT environment variable. This will allow you to type the name of a .lnk in command prompt and windows will execute it. Dont forget to quote filenames with spaces in though. NOTE: You can also do this with any file type; Windows will load up the program that handles it (e.g. .DOC => MS Word).

You can change the environment variable in system properties (either for the system or yourself) or by typing "SET PATHEXT=%PATHEXT%;.LNK" into the command prompt window (saved only for the life of that window).


On Saturday, October 27, 2001 at 12:32 am, ron wrote:
>I have a question about Run
>a Shortcut from the Command Prompt
:


>i have a patch that is running with dos...but thing is it wont run in the command
>prompt of win xp...i have to change some commands...can somebody help me on this?
>

[Reply or follow-up to this message]

Tip: Use one of the [Reply or follow-up to this message] links above to add a message to this thread
Return to the Windows XP Discussion Forum


All content at Annoyances.org is Copyright ©1995-2012 Creative Elementtm All rights reserved.
Please do not plagiarize; redistributing these pages without permission is strictly prohibited.