Did you try \\\\ ?  I do that kind of thing on windows all the time.


-----Original Message-----
From: Frank Benoit [mailto:mail02 / frankbenoit.de]
Sent: Tuesday, January 01, 2002 5:45 PM
To: ruby-talk ML; undisclosed-recipients:
Subject: [ruby-talk:30009] Re: Execing command with backquotes


now I have a workaround, but it ist ugly!!! Because now I have an
output I don't want and I cannot examine this output as I wanted:

I can execute the xcopy like this

system( "cmd.exe", "/c", "xcopy /s /e #{sourceroot}*.*
#{targetdirectory}" )