re: How to make shortcut run correctly!
Thursday, April 6, 2006 at 11:21 pm Windows XP Annoyances Discussion Forum
Posted by geek9pm
(1438 messages posted)
I would like to help, but I do not know what you program must do. I have written
many programs that work in the MS-DOS mode of Windows. As I recall, using a shortcut
was never a bproblem. If you wish to work in the CMD mode, the shortcut to use is
the shortcut to "Command Prompt".
Example: I have a program called "Hello.exe" and it is in the folder C:\BIN I wud
make copy of "command prompt" shortcut, edit it to open in C:\BIN and charge other
things needed.
I do not understan why you want the shortcut to go directly to the hello program.
The hello progam can not take parameters to control the GUI, becaue it is only a
console program. It can not tell the GUI where to place a message. The command shortcut
automatically creates a box in the GUI. When you call a console program without a
consolem you can not have a console. In this case "console" is often called "Ms-Box".
If the purose of the program does not require a lasting visible msbox, then that
would be OK.
The example you gave displays a message the user will not see, unless he is superman,
the console disapears before the message appers.
Geek9pm

On Thursday, April 6, 2006 at 7:19 pm, Thanhbinh wrote:
>Maybe you're not clear much about my problem.
>My task is that I have to convert from a GUI application to a Console app. When
I
>creat shortcut for my Console app, it doesn't work well. I found that it was not
>because of the arguments, so I wrote a simple console app(which I posted), the error
>was the same. I want to fix this error. Plz help me.
|
All messages in this thread [show all]
 |  |  |  |  |  |  |  | re: How to make shortcut run correctly! (geek9pm: Thu, Apr 6, 2006, 11:21 pm) |
| |
| |
Return to the Windows XP Discussion Forum
|
|