From: Florian Gross Date: 2004-11-22T22:43:06+09:00 Subject: Re: Windows - calling system with multiple parms John Reed wrote: > What I see happening is that when I pass the 3 parameters as I think > that they should be passed is that the 2nd & 3rd params aren't in fact > passed. > > Here is dcpropgst.bat: > %1 -I%2 -sDEVICE=%3 -dNOPAUSE print.ps -c quit > > This: > system( %{"dcpropgst.bat",#{@@gsdir} #{@@gsfontdir} #{@@prttxt}} ) > > (or this because the braces aren't needed) > system( %{"dcpropgst.bat",#@@gsdir #@@gsfontdir #@@prttxt} ) p [@@gsdir, @@gsfontdir, @@prttxt] I expect all of those to be nil or empty strings. I can't tell you how to fix that without having the source code of your application.