Command window

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Command window

1,429件の閲覧回数
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 .

ラベル(1)
0 件の賞賛
1 返信

272件の閲覧回数
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 件の賞賛