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