Command window

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Command window

1,424 Views
NewProgrammer
Contributor I
Hello,
          This is the first time am using CW tool.I have an application in which I need to open the command window of CW using perl scripts. The following snippet launches CW debugger .
 

use Win32::smileysurprised:LE;

$CW=Win32::smileysurprised:LE->new("CodeWarrior.CodeWarriorApp");

$textDocument = $CW->OpenTextDocument('D:\temp.txt', 1);

print ("Press any key to continue ... ");

$_ = <STDIN>;

Could someone help me to launch the command window  of CW IDE using perl scripts.

 

Thanks .

Labels (1)
0 Kudos
1 Reply

267 Views
CompilerGuru
NXP Employee
NXP Employee
I'm actually not aware that there is a scripting API to do that.

But have a look at the /d option of "CmdIDE.exe"
(try CmdIDE.exe /? on a windows command shell).
With this option, you can start the ide and automatically start a script in the command window.

Daniel
0 Kudos