From: Jan Friedrich Date: 2007-03-17T06:00:05+09:00 Subject: Re: Executing shell commands from Ruby... again. Kevin Skrenes schrieb: > I need to do this on a Windows machine, so a typical batch file might be > constructed like this: > > echo off > cd path\executabledir > -S > > where anything in <> needs to be dynamically populated. How about this: # -- BEGIN OF EXAMPLE # setting command, param, input, output # ... cmd = <