> How about using something like this in your FreePascal > program: > > Exec(GetEnv('COMSPEC'), '/C "set RUPYOPT=& \path\to\ruby > ..."') > > This uses the system command processor to execute the > following two commands (the ampersand is a command > separator): On Windows 2000: S:\>echo 1&echo 2 1 2 On Windows 98: S:\>echo 1&echo 2 1&echo 2 That's not gonna work... Thanks. gegroet, Erik V.