system.callSystem problem
Posted: March 2nd, 2013, 4:05 pm
Hi,
i'm trying to use system.callSystem to execute a command to copy an expression to the clipboard ( windows os)
the cmd is >echo aStringToCopyToClipBoard | clip , and it's work fine when execute in the windows cmd
but when i try to do it by the callSytem and can't get a good result ...
my script line : system.callSystem("cmd /k \"echo aStringToCopyToClipBoard | clip \"");
cmd windows popup, do action, but noting is past to the clipboard...
Thanks for your help
Mr
i'm trying to use system.callSystem to execute a command to copy an expression to the clipboard ( windows os)
the cmd is >echo aStringToCopyToClipBoard | clip , and it's work fine when execute in the windows cmd
but when i try to do it by the callSytem and can't get a good result ...

my script line : system.callSystem("cmd /k \"echo aStringToCopyToClipBoard | clip \"");
cmd windows popup, do action, but noting is past to the clipboard...
Thanks for your help
Mr