It's not quite so simple. I will explain again: so, in windows batch command i give a simple command to open an api:
* "cd C:\Users\blabla\Documents\2.7\2.7.6\Py"* * api.exe -p COM3"* After this, i receive the following message in console output: *"Port: 'COM3' Baud: 115200* *Tab completion enabled! ->"* At this moment i want to be able to give specific api command in the same windows batch command. These are the complete commands i tried to give but nothing seemed to happend: *cd C:\Users\blabla\Documents\2.7\2.7.6\Py api-cli.exe -p COM3 SET /P COMMAND=set fm.state 1 =====>this is a specific api command %COMMAND% echo %COMMAND%* 2014-05-14 12:27 GMT+03:00 Maciej Jaros <mac...@mol.com.pl>: > Adrian Rusu (2014-05-14 10:34): > > Hello all. > > I have a question regarding "Execute Windows batch command" field inside > a job > > So, i'm trying to open an api client and give specific api commands > after that. > > I can open the api client, it's an exe file, but after that the specific > api commands that i give are still interpreted as batch commands > and of course the following message appears "is not recognized as an > internal or external command, > operable program or batch file" > Anyone has an idea how can I avoid this, i want to open the api client and > after that to give specific api commands. I know this is not actually a > jenkins related problem, but maybe someone knows how to deal with it. > The api is python based. > > > python.exe yourPythonScript.py "some" "arguments" "passed to script" > > You can of course create/alter that script with by e.g. using echo command. > > Regards, > Nux. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Jenkins Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jenkinsci-users/htgtksni8iI/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > jenkinsci-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.