rajeshkumar created the topic: Run a .bat file using python code
from subprocess import Popen
p = Popen(“batch.bat”, cwd=r”C:\Path\to\batchfolder”)
stdout, stderr = p.communicate()
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn
Latest posts by Rajesh Kumar (see all)
- What Popular Apps Were Built With C/C++. Why Other Programming Languages Would Not Suit? - January 9, 2025
- Top 11 DevOps consulting companies in 2024. - January 8, 2025
- Atlassian Jira Demo - January 4, 2025