|
| | |||||||
| Windows XP Discuss the Microsoft Windows XP Operating System |
| | LinkBack | Thread Tools |
| |||
| Passing command line argument via Windows Shortcut Hi, Does anyone know if there is an easy way to set up a Shortcut (.lnk) to a program or batch script that will solicit the user for command line arguments? With the old (16-bit?) PIF mechanism, a "?" on the "Cmd line:" tells the PIF to open a dialog to get user inputs. Unfortunately, that no longer works for the (32-bit?) LNK mechanism. Thanks for help. -- Keep it brief: http://www2.paypc.com/mailrules/ |
| |||
| Re: Passing command line argument via Windows Shortcut "Peter Lu" <swift@TheWorld.com> wrote in message news:fcjljg$qp5$1@pcls6.std.com... > Hi, > > Does anyone know if there is an easy way to set up a Shortcut > (.lnk) to a program or batch script that will solicit the > user for command line arguments? With the old (16-bit?) PIF > mechanism, a "?" on the "Cmd line:" tells the PIF to open > a dialog to get user inputs. Unfortunately, that no longer > works for the (32-bit?) LNK mechanism. > > Thanks for help. > -- > Keep it brief: http://www2.paypc.com/mailrules/ This was a Win9x facility that did not make it to WinXP. You can emulate it by writing a command into the batch file you invoke, to prompt the user for his/her input. |
| |||
| Re: Passing command line argument via Windows Shortcut "Peter Lu" <swift@TheWorld.com> wrote in message news:fcjljg$qp5$1@pcls6.std.com... > Hi, > > Does anyone know if there is an easy way to set up a Shortcut > (.lnk) to a program or batch script that will solicit the > user for command line arguments? With the old (16-bit?) PIF > mechanism, a "?" on the "Cmd line:" tells the PIF to open > a dialog to get user inputs. Unfortunately, that no longer > works for the (32-bit?) LNK mechanism. > > Thanks for help. > -- > Keep it brief: http://www2.paypc.com/mailrules/ This was a Win9x facility that did not make it to WinXP. You can emulate it by writing a command into the batch file you invoke, to prompt the user for his/her input. |
| |||
| Re: Passing command line argument via Windows Shortcut "Peter Lu" <swift@TheWorld.com> wrote in message news:fcjljg$qp5$1@pcls6.std.com... > Hi, > > Does anyone know if there is an easy way to set up a Shortcut > (.lnk) to a program or batch script that will solicit the > user for command line arguments? With the old (16-bit?) PIF > mechanism, a "?" on the "Cmd line:" tells the PIF to open > a dialog to get user inputs. Unfortunately, that no longer > works for the (32-bit?) LNK mechanism. > > Thanks for help. > -- > Keep it brief: http://www2.paypc.com/mailrules/ This was a Win9x facility that did not make it to WinXP. You can emulate it by writing a command into the batch file you invoke, to prompt the user for his/her input. |
| |||
| Re: Passing command line argument via Windows Shortcut "Peter Lu" <swift@TheWorld.com> wrote in message news:fcjljg$qp5$1@pcls6.std.com... > Hi, > > Does anyone know if there is an easy way to set up a Shortcut > (.lnk) to a program or batch script that will solicit the > user for command line arguments? With the old (16-bit?) PIF > mechanism, a "?" on the "Cmd line:" tells the PIF to open > a dialog to get user inputs. Unfortunately, that no longer > works for the (32-bit?) LNK mechanism. > > Thanks for help. > -- > Keep it brief: http://www2.paypc.com/mailrules/ This was a Win9x facility that did not make it to WinXP. You can emulate it by writing a command into the batch file you invoke, to prompt the user for his/her input. |
| Bookmarks |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Passing command line argument via Windows Shortcut | Peter Lu | Windows XP | 0 | 09-19-2007 02:24 AM |
| How to find base address to read cmd line argument from the proces | Vijay | Windows Vista | 1 | 07-05-2007 12:50 AM |
| XP problem passing command arguments with spaces | Ron G | Windows XP | 3 | 01-21-2007 08:30 AM |
| Passing command line arguments | Cornel Gligan | Pocket PC General | 2 | 01-15-2007 10:53 AM |
| New To Technology Questions? | Do You Need Help with Your Computer or Device? | Do You Need Help with this site? |