I try to run a .bat file in Windows using Python script.

ask.bat file:

Application.exe work.xml

I write Python code:

import os
os.system("D:\xxx1\xxx2XMLnew\otr.bat ")

Output: when try to run the file its just give a blink of the command prompt, and the work is not performing.

Note: I try with alternate slashes also, but it is not working.

Edit
Report