I see that the followup post has disappeared..
After additional experimentation, I found that if you add a "/' before the "%*", the Quit 0 is not required. The down side is that you have a leading null "/"
The registry key I mentioned earlier can be defined as: c:\local\bin\kix32.exe "%1" "/%*"
By doing this, you can run a Kix script with any kind of command line args - for example - BedRock.Kix /Flintstones Fred Wilma Barney Betty, and GetCommandLine(0) will return:
"C:\local\bin\kix32.exe" "K:\Misc\cl.kix" "/ /Flintstones Fred Barney Wilma Betty"
You can easily trim the leading "/ " and get the args you need.
Glenn
_________________________
Actually I
am a Rocket Scientist!