Page 1 of 1

How to use Copy command in TI Process

Posted: Wed Apr 23, 2014 9:01 am
by vins
Executecommand(); in TI process can be used to execute command line commands. I want to use "copy" command to merge two files into one file. Can you please help me with the code.

I am using below code in my TI Process. Its not throwing me an error but its not appending the content of files.

vFileName1 = 'D:\Tm1\MgmtStaff2014-04-17.txt';
vFileName3 = 'D:\Tm1\test.txt';
ExecuteCommand( 'CMD /C TYPE ' | vFilename1 | '>> ' | vFileName3,1);


Looking for your suggestion

Re: How to use Copy command in TI Process

Posted: Wed Apr 23, 2014 9:50 am
by cjsee
Hi,
This thread maybe helpful to you...
http://www.tm1forum.com/viewtopic.php?f=3&t=6231

Cheers,
CJ

Re: How to use Copy command in TI Process

Posted: Mon Apr 28, 2014 6:58 am
by vins
Thanks for your precious advice.

It's working :)