Greetings.
I'm having trouble with the OS_GetCommand function and I hope someone can enlighten me.
I have a script that reads a .nxf file but I am having trouble using it from the context menu. I've associated the .nxf filetype to the script with this command:
C:\thinBasic\thinBasic.exe "c:\thinBasic\UserScripts\nxf2scr.tbasic" %1
and it works fine as long as the filename does not contain a hyphen. Apparently OS_GetCommand uses a hyphen as a parsing character so the full filename doesn't get passed to the program. If I add quotes around the %1, OS_GetCommand(2) returns the full filename but it looks like now I have to strip off the quotes from the string to use it for a filename in file_ commands.
Can anyone explain how to get around the hyphen dilemma?
Thanks much.
Bookmarks