Technology Questions

Go Back   Technology Questions > Software Questions > Operating System Questions > Windows XP

Windows XP Discuss the Microsoft Windows XP Operating System

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 09-19-2007, 02:25 AM
Peter Lu
Newsgroup Contributor
 
Posts: n/a
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/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 09-19-2007, 02:25 AM
  #2 (permalink)  
Old 09-19-2007, 02:25 AM
Pegasus \(MVP\)
Newsgroup Contributor
 
Posts: n/a
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.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 09-19-2007, 02:25 AM
Pegasus \(MVP\)
Newsgroup Contributor
 
Posts: n/a
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.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4 (permalink)  
Old 09-19-2007, 02:25 AM
Pegasus \(MVP\)
Newsgroup Contributor
 
Posts: n/a
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.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #5 (permalink)  
Old 09-19-2007, 02:25 AM
Pegasus \(MVP\)
Newsgroup Contributor
 
Posts: n/a
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.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
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?

All times are GMT -8. The time now is 10:54 AM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0