Page 11 - PromptPal Documentations.
P. 11
Adding / Changing Command Information Page 2 of 5
Page 1 : Command and Command Path
The first page of the wizard is used to name the command, and optionally indicate the path where the command
resides.
Command Name - please enter the command free of any parameters and switches, and also omit the associated file
name extension (unless it it required to differentiate the command from an identically named executable file with a
different extension, .e.g. XXX.com and XXX.exe). For example, let's say you're adding your favorite command-line
utility: mycommand.exe. You'd launch this in the normal command processor by typing simply "mycommand", so set
the name as "mycommand" also.
Command Path - this is optional and is used by the wizard to help it to extract the command's help text
automatically. Leave this blank if the command can be found on the current "path" environment variable, otherwise
please supply the full path to the executable file. You can type in the path directly or browse to it.
Use path when executing this command - this option only applies when you have supplied the full path to the
command in the previous field. When the box is ticked PromptPal will silently substitute the full path for the command
whenever it is encountered. This makes it easier to launch executables and batch files that do not reside in directories
on the system's PATH environment variable.
Page 2 : Auto-Discover
Many commands are capable of displaying some helpful text about their usage, command line parameters and
switches. If your command can do this, PromptPal may be able to capture this help text and use it to fill out the
command information automatically. This process is called "Auto-discover".
If you decide to give auto-discover a try, you'll first have to tell PromptPal what command line parameter is used to
trigger the help text. The majority of commands output help text if they see "/?" on their launch line. Some others
recognize either "-h" or "-?", and some only output the text if there is nothing on the launch line at all. There's no
formal standard. Sometimes, the best you can do is make a guess and try it!
If selected, auto-discover will be attempted when you press Finish. Auto-discover will try to get the help text from the
command for a few seconds, and then give up. If it's going to succeed, it generally finishes almost immediately, and
you'll be shown the results in the next stage - the command info edit screen. If auto-discover fails, it will tell you and
you'll get the chance to try again, maybe with a different command line switch.
On completing the wizard, you'll be taken to the command info edit dialog, where you can view and edit what you've
entered.
Add / Edit Command Information
file:///C:/Users/Showcasedd/AppData/Local/Temp/~hh4FE7.htm 6/10/2017