Don't know if this is by design but:
I have a program that reads a text file by passing the argument -File=
I defined a button as follows: "C:\programname.exe" -File={allfilepath$}
I couldn't understand why the file was not being opened until I discovered this:
If the filename did NOT have any spaces in it, {allfilepath$} returned -File=filename
If the filename did have spaces in it, {allfilepath$} returned -File= filename
(notice the space after the "=" and before the file name)
The program opened the file ONLY if there was no space after the "=". I admit it was a poorly written program that should have accounted for this (I wrote it) but nevertheless maybe it shouldn't occur. The (allfile$} parameter also shows this behavior.
Just wanted to point this out because it took me quite a while to figure out what was going on and it could save someone else some time.
Bob Gregory