system.callSystem problem

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
tapsystem
Posts: 21
Joined: February 19th, 2013, 2:44 pm

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 ... :shock:

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
Edu-im
Posts: 5
Joined: September 28th, 2011, 10:59 am

March 2nd, 2014, 12:43 pm

Hi tapsystem

I was trying to execute the same task (copy to clipboard from AE) and I am having exactly the same problem. I've only realized that the problem involves the vertical bar (|). Did you get any satisfying result?

Thanks,
Edu
Post Reply