From: "Rebhan, Gilbert" Date: 2007-02-09T00:51:35+09:00 Subject: system (cmd) on windows Hi, two questions : 1. system("T:/cvsnt/cvs.exe", "-d :pserver:username@cvshost:d:/cvsrepos/test co Foobar") doesn't work, whereas system("T:/cvsnt/cvs.exe -d :pserver:username@cvshost:d:/cvsrepos/test co Foobar") works all examples i found had system ("cmd", "args") is that normal for some executables or is it a buggy behaviour from cvs.exe ? 2. my rubyscript lies under C:/cvs.rb my cvsworkspace = T:/cvsworkspace now i want to fire my cvs command out of the cvsworkspace folder in a windowshell i would do= T: cd workspace T:/cvsnt/cvs.exe -d :pserver:username@cvshost:d:/cvsrepos/test co Foobar how to emulate that with system(...) i tried to ; separate it : system("T:;cd workspace;T:/cvsnt/cvs.exe -d :pserver:username@cvshost:d:/cvsrepos/test co Foobar") but that doesn't work Any ideas ? Regards, Gilbert