Annoyances.org
Home » Windows XP Discussion Forum » Message 1144390891 Search | Help | Home
  
Tip: Run a free scan for common Windows errors ad

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.


Written in response to:
re: How to make shortcut run correctly! (Thanhbinh: Thursday, April 6, 2006 at 7:19 pm)

Responses to this message:
*re: How to make shortcut run correctly! (Thanhbinh: Friday, April 7, 2006 at 12:20 am)

All messages in this thread [show all]
-How to make shortcut run correctly! (Thanhbinh: Wed, Apr 5, 2006, 7:17 pm)
-re: How to make shortcut run correctly! (geek9pm: Wed, Apr 5, 2006, 10:07 pm)
-re: How to make shortcut run correctly! (Thanhbinh: Thu, Apr 6, 2006, 1:33 am)
-re: How to make shortcut run correctly! (geek9pm: Thu, Apr 6, 2006, 4:29 am)
-re: How to make shortcut run correctly! (Thanhbinh: Thu, Apr 6, 2006, 5:27 am)
-re: How to make shortcut run correctly! (geek9pm: Thu, Apr 6, 2006, 8:02 am)
-re: How to make shortcut run correctly! (Thanhbinh: Thu, Apr 6, 2006, 7:19 pm)
-re: How to make shortcut run correctly! (geek9pm: Thu, Apr 6, 2006, 11:21 pm)
-re: How to make shortcut run correctly! (Thanhbinh: Fri, Apr 7, 2006, 12:20 am)
-re: How to make shortcut run correctly! (geek9pm: Fri, Apr 7, 2006, 10:36 am)
*re: How to make shortcut run correctly! (Thanhbinh: Fri, Apr 7, 2006, 6:40 pm)
Return to the Windows XP Discussion Forum


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