.cmd files
Can we execute.cmd files from
Parasoft. And if yes then what option we need to choose
Answers
-
Hi nidhi,
see this:
https://docs.parasoft.com/display/SOA20232/External--
Ireneusz Szmigiel
http://www.catb.org/esr/faqs/smart-questions.html0 -
@Ireneusz Szmigiel I checked it but it does not specify if external tool .cmd files too.i tried but it did not work so wondering if parasoft support that
0 -
External Tool allows to execute any executable or script but you have to use proper syntax or interpreter.
See screenshot from my example:--
Ireneusz Szmigiel
http://www.catb.org/esr/faqs/smart-questions.html0 -
@Ireneusz Szmigiel i tried with proper syntax but its not working for me..its .cmd file
0 -
@nidhi What do you mean by "but its not working for me..its .cmd file"?
Do you see any error? If you attach as output Write File tool, then configure it to save output from your External Tool, what do you see in saved file?
If you want help on forums you should provide content of cmd file, configuration of External Tool used by you, and any visible error/s after execution.See url in my footprint to understand what usually forum's members need to help you.
--
Ireneusz Szmigiel
http://www.catb.org/esr/faqs/smart-questions.html0 -
.bat (or .cmd) files are actually executed by cmd.exe. Use an External Tool to run C:\Windows\System32\cmd.exe /C path_to_your_bat_file. See this thread for examples including my comments where I provide more explanation: Batch file is not running in the External tool
0