I'm trying to launch a DOS batch file from CodeWright. When I click the "Execute compile command" button CodeWright will run my batch file. Does anyone know how to configure CodeWright to do this?.
Thanks, Paul
I'm trying to launch a DOS batch file from CodeWright. When I click the "Execute compile command" button CodeWright will run my batch file. Does anyone know how to configure CodeWright to do this?.
Thanks, Paul
Project..Properties, "Tools" tab, Category "Compile," select the "File Type." Next to the "Name" drop down, press the "New" button, make MyBatchFile (or whatever you want to call it).
Next to "command," enter your command, e.g.
${FTEE} my_bat %r%e
Include any response file data (probably none), and select you command options (I use "redirect output" and "save all files")
Next to "command" click the "test" button to see what you get. If it looks right, "OK" yourself out of the dialogs and try it.
HTH,
-=Dave
-- Change is inevitable, progress is not.
You can start another program by making your batch file a "tool". On the Project Properties Tools tab, make a new custom tool. Make the batch file run under VDOS by selecting it in the Command Options window. Give a name to the tool in the Description window (e.g. something maybe like "Execute Compile"). Then type the name of your batch file in the Command window.
Lou
"Paul" wrote in news:1119537964.618290.18820 @g14g2000cwa.googlegroups.com:
With version 7.5 of codewright
select Project->Properties select Tools tab click on Build (or rebuild), whichever you want it associated with in the white box under Command, on my Windows XP system, I typed C:\WINDOWS\SYSTEM32\cmd.exe /C cd \source\900 pharma\SRC &&run.bat
This invokes a dos command window that executes the list of commands following /C. In my case, I had it change directories to the project directory, then execute the batch file "run.bat". The && is a seperator between commands.
-- Richard
Richard wrote in news:Xns967F5C7CD887Crichardrapiernetscap@130.133.1.4:
file.
seperator
Or, do it the easy way, and click on the VDOS selection box, and just enter the batch file name for the command to execute.
-- Richard
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.