How to? Run a TCC command from external program

Feb 23, 2012
238
3
#1
What is the recommended way to run a TCC command from an external program?

I can put the command into a .BTM file, followed by the "exit" command, and I can then run:
Code:
"C:\Program Files\JPSoft\TCMD15x64\tcc.exe"  MyCommand.BTM
Is this the best way to do it, or is there a more direct way?
 
#2
The BTM wouldn't need "exit" if you started TCC with "/C"
If the command is simple enough, you can put it right in TCC's command line. For example,
Code:
"C:\Program Files\JPSoft\TCMD15x64\tcc.exe" /c copy file1 file2