Nicholas Van Weerdenburg <nick / activehitconsulting.com> wrote in message news:<41A8F614.3040108 / activehitconsulting.com>... > Maybe try forward slashes in the paths in the parameters. Possibly > something funky is happening there. > > Also, it might a good idea to construct the simplest test case and post > it for other XPers to try. > > Regards, > Nick > > Nick, I changed my Ruby program to pass only 1 parm to my batch file, and here's my batch file: SET curdir=%CD% SET gsdir=%curdir%\gs\gs8.14\bin\gswin32.exe SET gsfontdir=%curdir%\gs\gs8.14\bin\fonts %gsdir% -I%gsfontdir% -sDEVICE=%1 -dNOPAUSE print.ps -c quit John