[Jprogramming] Windows command shell doesn't recognize "C:\Program Files"?

bill lam bbill.lam at gmail.com
Sun Jul 25 10:07:08 HKT 2010


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


More information about the Programming mailing list

AltStyle によって変換されたページ (->オリジナル) /