From: Martin DeMello Date: 2012-04-28T03:24:57+09:00 Subject: Re: running a command line argument from ruby Glad you got it working. One further note: you don't need to say things like ex = Dir["P:\project\bin\pdftk.exe"] file = Dir["P:\project\bin\combined.pdf"] all the Dir[...] command does is expand shell wildcards for you. So Dir["*.pdf"] will return an array of all the pdf files in the current directory, but Dir["combined.pdf"] will just return back ["combined.pdf"] since there are no wildcards to expand. martin On Fri, Apr 27, 2012 at 9:15 AM, Christopher D. wrote: > I couldn't edit my above post but I figured it out. Thank you martin! > > Like martin mentioned you need to escape the slashes. > > -- > Posted via http://www.ruby-forum.com/. >