need a batch script to skip error from a python tool
Posted: 05 Sep 2017 14:14
i use rdpy-master for python and i create a batch file to run 10.000 lines like this:
the problem is that sometimes at line X i receive this message:
if I get this error from line 30 then everything stops here,how can i close,pass or skip the lines in which I receive these errors, a batch script?
thanks!!!!!
Code: Select all
rdpy-rdpscreenshot.py -w 1024 -l 800 -o C:/tmp/ 343.324.1.1
rdpy-rdpscreenshot.py -w 1024 -l 800 -o C:/tmp/ 345.12.1.1
rdpy-rdpscreenshot.py -w 1024 -l 800 -o C:/tmp/ 1.1.0.0
etc..
the problem is that sometimes at line X i receive this message:
Code: Select all
rdpy.core.error.RDPSecurityNegoFail: negotiation failure code 5
if I get this error from line 30 then everything stops here,how can i close,pass or skip the lines in which I receive these errors, a batch script?
thanks!!!!!