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

re: Question about 'Run a Shortcut from the Command Prompt'
Wednesday, December 8, 2004 at 2:42 pm
Windows XP Annoyances Discussion Forum
Posted by jason (1 messages posted)


Hello, I'm writing a simple batch file to load 8 command windows, each executing its own, different process. All of these processes are specified as link files, for example

"f18 lead converted.lnk"

I've tried using the following:

start "f18 lead converted.lnk"

this does not work.

I've had success with the following:

start call "f18 lead converted.lnk"
cmd /k "f18 lead igen_console.lnk"

Here's the problem.
The programs have text based interaction so that I can query them for debugging purposes as they run. This functionality does not work when loading the files with the above commands (the program is unresponsive to my text input).

When I launch the programs by manually clicking on all eight links, the text based interactions functions as they should.

The question:
Why is this? Are there other batch file commands I can use to launch the command windows and my processes so that they are responsive?

This is frustrating :P
Thanks for any help!
-jason


On Sunday, November 28, 2004 at 2:34 am, Assad E.K. Ebrahim wrote:
>I've had similar difficulties on Windows XP.
>It turns out the problem is not with running a shortcut from the command line. You
>can verify this by running from the command line the Paint.lnk shortcut located in
>your desktop folder.
>
>The problem is with running the dialup connection shortcut from the command-line.
> This does not seem possible by simply calling the link.
>
>Instead, the DOS shell utility to use is rasdial. To find out how to use it, open
>a cmd window and type: rasdial /?
>
>You'll use it in this way: rasdial [Phone Book Entry] [username] [password]
>
>VB6 Example:
> Shell "rasdial ""Connect to Intergate"" myusername@intergate.com mypassword", vbNormalFocus
>
>Here the doublequotes are because "Connect to Intergate" is the name of my connection
>in the Remote Dialer phonebook, and the spaces in the name force me to use quotes.
>
>Good luck.
>


Written in response to:
re: Question about 'Run a Shortcut from the Command Prompt' (Assad E.K. Ebrahim: Sunday, November 28, 2004 at 2:34 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' (Chris (Hunt): Tue, Feb 4, 2003, 6:58 am)
-re: Question about 'Run a Shortcut from the Command Prompt' (PartieHonteuse: Tue, Feb 4, 2003, 9:38 am)
-re: Question about 'Run a Shortcut from the Command Prompt' (Chris (Hunt): Tue, Feb 4, 2003, 4:09 pm)
-re: Question about 'Run a Shortcut from the Command Prompt' (Revoman: Wed, Mar 19, 2003, 7:39 am)
-re: Question about 'Run a Shortcut from the Command Prompt' (Salieri: Fri, May 23, 2003, 7:19 pm)
-re: Question about 'Run a Shortcut from the Command Prompt' (Vinnie D: Wed, Jun 4, 2003, 12:02 am)
-re: Question about 'Run a Shortcut from the Command Prompt' (Daniel: Wed, Jun 11, 2003, 4:20 am)
-re: Question about 'Run a Shortcut from the Command Prompt' (Ken Jones: Tue, Jul 25, 2006, 3:23 pm)
-re: lnk won't run minimized when executed from cmd (dan: Mon, Nov 20, 2006, 11:39 am)
*re: lnk won't run minimized when executed from cmd (DDB: Tue, Jan 23, 2007, 11:02 am)
*re: lnk won't run minimized when executed from cmd (paul lawrence: Wed, Apr 4, 2007, 5:24 am)
-re: Question about 'Run a Shortcut from the Command Prompt' (Nick C: Wed, Dec 31, 2003, 2:55 am)
-re: Question about 'Run a Shortcut from the Command Prompt' (Chrisb: Fri, Jan 30, 2004, 8:27 am)
-re: Question about 'Run a Shortcut from the Command Prompt' (Assad E.K. Ebrahim: Sun, Nov 28, 2004, 2:34 am)
*re: Question about 'Run a Shortcut from the Command Prompt' (jason: Wed, Dec 8, 2004, 2:42 pm)
-re: Question about 'Run a Shortcut from the Command Prompt' (dan-e: Wed, Oct 3, 2007, 9:00 pm)
*re: Question about 'Run a Shortcut from the Command Prompt' (brunces: Thu, Apr 17, 2008, 7:41 am)
*re: Question about 'Run a Shortcut from the Command Prompt' (Oisín: Thu, Mar 16, 2006, 11:45 pm)
-re: Question about 'Run a Shortcut from the Command Prompt' (Curt: Fri, Mar 18, 2005, 10:40 pm)
*re: Question about 'Run a Shortcut from the Command Prompt' (narc: Sun, Aug 7, 2005, 9:21 am)
-re: Question about 'Run a Shortcut from the Command Prompt' (Sonrisante: Sat, May 26, 2007, 6:41 pm)
-re: Question about 'Run a Shortcut from the Command Prompt' (generic_idea_machine: Wed, May 14, 2008, 6:23 am)
-re: Question about 'Run a Shortcut from the Command Prompt' (Johny Johnson: Wed, Oct 21, 2009, 6:30 am)
*re: Question about 'Run a Shortcut from the Command Prompt' (bobby boy: Sun, Mar 28, 2010, 4:14 pm)
-re: Question about 'Run a Shortcut from the Command Prompt' (Paul Cramer: Fri, Nov 18, 2005, 12:02 pm)
-re: Question about 'Run a Shortcut from the Command Prompt' (Rich Kurtz: Fri, Nov 18, 2005, 12:21 pm)
*re: Question about 'Run a Shortcut from the Command Prompt' (Paul Cramer: Wed, Nov 23, 2005, 12:53 pm)
*re: Question about 'Run a Shortcut from the Command Prompt' (Tom Anselmo: Sun, Jan 30, 2005, 3:19 pm)
*Why "start" doesn't work (David Spector: Sun, Feb 6, 2005, 4:29 am)
-re: Question about 'Run a Shortcut from the Command Prompt' (Andy Gee: Thu, Jun 24, 2010, 2:39 am)
*re: Question about 'Run a Shortcut from the Command Prompt' (brunob75: Sun, Jun 27, 2010, 4:53 am)
*re: Question about 'Run a Shortcut from the Command Prompt' (Andy Gee: Sun, Jun 27, 2010, 7:01 am)
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.