Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: param0 parameters
For example: a user double-clicks "myapp.xxx" which loads and runs myapp.exe (a compiled winbatch script). I need the compiled script to be able to retrieve the value "myapp.xxx".
If I could determine the window that contained "myapp.exe", perhaps I could retreive it that way...
param1variable. (Read about this in the Winbatch.HLP file on in your small WinBatch User's guide.)
If all goes wrong, and it parses the filename into separate variables (because the default registry entry does not have quotes around the file name, you have to have...
if param==0 Message("Ooops","no parameters specified") endif cmdline=param1 for x=2 to param0 cmdline=strcat(cmdline," ",param%x%) next Message("Command Line is",cmdline)
Article ID: W13272
Filename: Launch WinBatch with Parameters from a File.txt
File Created: 1999:04:15:16:52:54
Last Updated: 1999:04:15:16:52:54