Windows requires a file name containing spaces to be enclosed in double quotes ("). Perhaps you thought the double quotes Chris put around the name were to highlight the file name. Try putting double quotes around the file name.

JCCoez wrote:

Chris, I am surely missing something.
I developped an application which runs perfectly in c:\mydir but if I rename that directory name such as c:\my dir (with a space in the name) then it doesn't even start... If I give that application to someone as a runtime, I cant' know in which directory that appl will be installed and that is the problem. It's a little bit different of what you said below.


In J504 Windows, I created a directory "c:\abc def" and gave that the
folder name foo. Then:

 jpath '~foo/yyy'
c:\abc def\yyy

So this seems to work.

Please check USERFOLDERS_j_. This has the folder information, and
perhaps your folder is actually defined as c:\mydir.
----------------------------------------------------------------------



----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm



----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to