From: colotechpro@... (John Reed) Date: 2004-11-21T12:43:07+09:00 Subject: Windows - calling system with multiple parms I'm having a problem getting a system call to Windows XP to work. I upgraded my Ruby from 1.6.8 to 1.8.1 recently. System info: >ruby �v ruby 1.8.1 (2003-12-25) [I-386-mswin32] FWIW, my .bat file is passing the directory path for ghostscipt exe and the path for the ghostscript font directory, as well as the printer code for the ghostscript emulation. This line of code worked when I was on 1.6.8: system("dcpropgst.bat", [@@gsdir, @@gsfontdir, @@prttxt]) Now, I get the TypeError: cannot convert Array into String I've tried many different ways of calling system with one of them being: system( %{"dcpropgst.bat", #@@gsdir, #@@gsfontdir, #@@prttxt} ) In all cases where I can see that it is calling the .bat file, only the 1st parameter is being passed. I've spent many hours trying to get it to work. What do I need to change so all 3 parms are passed? Thanks, John Reed