Annoyances.org
Home » Windows 98 Discussion Forum » Message 1198954464 Search | Help | Home
  
re: Question about 'Run a Shortcut from the Command Prompt'
Saturday, December 29, 2007 at 10:54 am
Windows 98 Annoyances Discussion Forum
Posted by gewg_ (3521 messages posted)


|[...]I always get a "This program cannot be run in DOS mode" message.
|I have assumed by command prompt you mean an MS-DOS command prompt,
| Andy
|
You do understand that Windows 9x is a GUI 
that runs on top of DOS.  Right?

|and not the run window or address bar in explorer. 
|
It sounds like you are talking about Real Mode DOS, so NO;
START (or any other Windoze executable)
will not run without having the Windoze APIs 
available.

In Real Mode DOS (not a DOS Box--or what UNIX would call a "terminal"),
you are **below** that level.
Micro$oft (in its usual brain-dead manner of naming things)
calling this "Command Prompt" in Windoze just muddied the waters.

The article is talking about running a Windoze *process*
--that is a *window* running another invocation of COMMAND.COM
(similar to what would be called "Shelling Out" in Real DOS).

To run Windoze apps, you have to have Windoze running.
Windoze shortcuts (as the article says) are not constructs that DOS understands.

|[...]have I misunderstood?
|
Yup.

|This also happens on a second Win98 machine.
|
...and will on ANY machine.

Why you are insisting on trying to execute the *shortcut*
instead of just going straight to the *.EXE file is beyond me.

If you are trying to pass parameters to a DOS app under Real DOS
without having to type them in every time, a batch file seems apt.
http://www.google.com/search?q=Batch.File+tutorial
That is the nearest DOS equivalent of a Windoze Shortcut.




Written in response to:
Question about 'Run a Shortcut from the Command Prompt' (Andy: Saturday, December 29, 2007 at 3:27 am)

There are presently no replies to this message.

All messages in this thread [show all]
-Question about 'Run a Shortcut from the Command Prompt' (Andy: Sat, Dec 29, 2007, 3:27 am)
-re: Question about 'Run a Shortcut from the Command Prompt' (Andy: Sat, Dec 29, 2007, 5:06 am)
-re: Question about 'Run a Shortcut from the Command Prompt' (Keith Stanier: Sat, Dec 29, 2007, 5:20 am)
-re: Question about 'Run a Shortcut from the Command Prompt' (Andy: Sat, Dec 29, 2007, 7:41 am)
*re: Question about 'Run a Shortcut from the Command Prompt' (Andy: Sat, Dec 29, 2007, 8:04 am)
*re: Question about 'Run a Shortcut from the Command Prompt' (gewg_: Sat, Dec 29, 2007, 10:54 am)
Return to the Windows 98 Discussion Forum

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