Chris Burke wrote: > Sherlock, Ric wrote: >> The following 2 changes to pacman.ijs enable it to work correctly where >> J602 is installed to a (Windows OS) directory path containing spaces: >> >> LINE 37 (definition of HTTPCMD & UNZIP) >> HTTPCMD=: jpath '~install/tools/ftp/wget.exe -O %O -o %L -t %T %U' >> becomes >> HTTPCMD=: '"',(jpath '~install/tools/ftp/wget.exe'),'" -O %O -o %L -t >> %T %U' >> >> LINE 345 (definition of shellcmd) >> shell y >> Becomes >> shell dquote y > > Windows cmd has a peculiar treatment of double quotes, stripping them > off unless very strict conditions are met (see cmd /? in a command window). > > Ric's fix works by adding two sets of double quotes where there is a > blank in the wget path, so that windows will strip off one set. Is there > a better way, for example, a fix to the shell verb?
Just noticed that Ric already explained this point in an earlier msg. Again, I could make the fix, but a fix to shell would be better. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
