From: Mark Hahn Date: 2002-01-02T08:28:43+09:00 Subject: [ruby-talk:29994] RE: Execing command with backquotes You need to add cmd.exe like this: cmd = "cmd.exe /c xcopy /s /e c:\\A\\*.* c:\\B" Test things first with something simple like DIR. -----Original Message----- From: Frank Benoit [mailto:mail02@frankbenoit.de] Sent: Tuesday, January 01, 2002 1:25 PM To: ruby-talk ML; undisclosed-recipients: Subject: [ruby-talk:29991] Execing command with backquotes Hi I tried to do something like cmd = "xcopy /s /e c:\\A\\*.* c:\\B" msg = `cmd` ...... But the programm hangs. After pressing Control-C 2 times Windows says: A process tries to write onto a not existing pipe. (I tried to translate this, not the original message) Thx for help