Yeah, I agree with you. The quotes are needed because of windows long filename.
I did encounter this with one of my projects so what I did was installed J in C:\J602 and made sure that theres no spaces or chinese characters in any path names in ALL path names. ________________________________________ From: [email protected] [[email protected]] On Behalf Of bill lam [[email protected]] Sent: Sunday, July 25, 2010 10:07 AM To: [email protected] Subject: Re: [Jprogramming] Windows command shell doesn't recognize "C:\Program Files"? What if you don't put double-quotes on the exe? Just a weird thought but window is equally weird. Сбт, 24 Июл 2010, Devon McCormick писал(а): > Hi Everybody - > > I have a very peculiar problem: I'm spinning off an independent J task using > "shell" or "fork" like this: > > shell '"C:\Program Files\j602\bin\j.exe" -jijx AnyScript.ijs' > > with the pathed .exe properly surrounded by double-quotes to compensate for > Windows' idiotic spaces-in-filenames deficiency, but I get this error: > > 'C:\Program' is not recognized as an internal or external command, > operable program or batch file. > > as if the command shell is not properly handling the double-quotes. > > This is especially wierd as I've been doing this same thing for quite a > while and it _used_ to work. > > Any ideas? > > Thanks, > > Devon > -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
