Guest Peter Lu Posted September 16, 2007 Posted September 16, 2007 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/
Guest Pegasus \(MVP\) Posted September 16, 2007 Posted September 16, 2007 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.
Recommended Posts