Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parameter '?' in shortcut that makes that a input box appears 1

Status
Not open for further replies.

ascht

Programmer
Sep 22, 2000
43
0
0
CH
Once upon a time in Win 95 I had a shortcut to start a batch file.
When I double-clicked the shortcut, a Windows-Dialog appeared, where I could enter my parameter.
Then the Batchfile run with this parameter.

But I can not remember how it worked. I think there was a special syntax in the Target Field of the shortcut, probably a Questionmark.

Do you have any idea how to do this?

Ascht

The Batchfile looked like this:
Code:
----------
Set pj=%1
call runProject.bat
----------
 
No, its not the Choice command.
I did not use any additional tool. It's implemented in the Windows OS.
Only a dialog box with one field, similar to the Run-DialogBox appeared.


 
Sorry - I do remember this feature too, but can't remember what needs supplying to the target field either.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top