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