WiseScript Executable Help
Is there any way to create a WiseScript executable that can be passed launch parameters and in turn then interperates those parameters to perform differenet actions.
Example (Where Param1 is the paramaeter passed to the WiseScript executable):
Set Variable DRIVE_LETTER to W:\
If Param1 Equals "ABA" then
Set Variable EXE_FILE to CorVu.43\cvradm32.exe
End
If Param1 Equals "CORVU" then
Set Variable EXE_FILE to CorVu.43\cvfe32.exe
End
If Param1 Equals "CORVUADM" then
Set Variable EXE_FILE to CorVu.43\cvadm32.exe
End
If Param1 Equals "STOP" then
Set Variable EXE_FILE to CorVu.43\kilsrv32.exe
End
If File or Directory exists %DRIVE_LETTER%%EXE_FILE% then
Execute %DRIVE_LETTER%\%EXE_FILE% (Wait)
Else
Display Message "CorVu"
End
Example (Where Param1 is the paramaeter passed to the WiseScript executable):
Set Variable DRIVE_LETTER to W:\
If Param1 Equals "ABA" then
Set Variable EXE_FILE to CorVu.43\cvradm32.exe
End
If Param1 Equals "CORVU" then
Set Variable EXE_FILE to CorVu.43\cvfe32.exe
End
If Param1 Equals "CORVUADM" then
Set Variable EXE_FILE to CorVu.43\cvadm32.exe
End
If Param1 Equals "STOP" then
Set Variable EXE_FILE to CorVu.43\kilsrv32.exe
End
If File or Directory exists %DRIVE_LETTER%%EXE_FILE% then
Execute %DRIVE_LETTER%\%EXE_FILE% (Wait)
Else
Display Message "CorVu"
End
0 Comments
[ + ] Show comments
Answers (0)
Please log in to answer
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.