04-18-2005, 04:43 PM
If a file has spaces in it's path AND the filename is read from COMMAND$, OPEN returns an error
curiously the error message prints correctly the path.
If the path-having-spaces is hard-coded into the program , OPEN works!!!
Code:
if open(command$ for input as 1)then
? "Can't open file";command$;"<"
else
? "OK"
end if
If the path-having-spaces is hard-coded into the program , OPEN works!!!
Antoni