Are you sure it's due to cmd.exe? I was able to run the line OK from the
command prompt. Anyway, I'll let you know how the other suggestions work.
Thanks.
On 4/18/07, Dan Bron <[EMAIL PROTECTED]> wrote:
Devon,
This isn't a bug in shell, it's a "feature" of cmd.exe (backwards
compatibility). See cmd /help .
You have a couple of options. Use the syntax:
shell '"C:\amisc\sound\music\Fifties" & "Sixties\renLen.bat"'
pshaw
or use spawn directly instead of shell:
'' spawn '"C:\amisc\sound\music\Fifties & Sixties\renLen.bat"'
pshaw
Oleg:
You might want to consider using both the lpApplicatioName and
lpCommandLine parameters in the definition of CreateProcess.
-Dan
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm