I was trying to exit a file in the directory
Since trhe fiile name has a space in it, the parser stop at the fist space ... Is there a work-a -round for this?
This is a windows issue
It's not clear what you're trying to do! You say "exit a file in the directory". Did you mean "edit a file in the directory"? If so, and you have the directory displayed in THE, then just position the cursor on the line and use ALT-x to edit. You shouldn't have any trouble editing it from the command line, either.
If, however, you meant "execute a file in the directory" that's trickier. When passing a fileid to Windows that has a blank, you have to enclose it in double-quotes.
Thanks for the reply. To clarify, this is what I was doing on
Opened up a command window.
Issue the cd command
cd “C:\Program Files\JPSoft\TCCLE11"
NOTE: in windows the quotes are needed since there are spaces in the name)
Now the current directory is the one noted above.
I now start THE, with via cmd/bat file, which is in the current path ENV var.
THE starts and since I did not specify a filename, is starts with a directory listing
of the current directory, the one noted above.
Now at the (the) command prompt, I type
I amd using regina rexx. I have a profile that for the most part just sets up color. The “x”
command ends in an error ( it looks like rexx message ) something like
“Can’t find file c:\Program”
I am assuming that when THE build the full path of the file (via the x command) that
it using the CWD and the specified name to locate the file, and in this case its not
respecting the blank or parsing on the first on.
Blanks in files names is not a common in unix but very common in windows.
I don’t have an “arg” or “parse arg” in my profile.the – would it help if I put one in and
captured the command line and embedded the quotes?
I've never done that! Try TRACE R in your profile somewhere after your REXXOUTPUT FILE statement. I use OOREXX and it's impossible to trace the profile with it, so after doing the absolute minimum, it invokes USERPROF.THE which calls multiple macros to give me a finer granularity.
Note that PROFILE.THE runs twice! You might have to allow for that.
I'll try to reproduce your problem later today, but no promises.
Contact me privately if I can be of more help.