import subprocess def createBat(): fileSelected = "C:/Users/Haydomon/Desktop/folder/" Batch = open(fileSelected+"run.bat", \'w+\') Ba