#3DO get just filenames with pre slashes objFile = fileName.replace(dst,"").strip() + '.obj' pyFile = fileName.replace(dst,"").strip() + '.py' batchFile = fileName.replace(dst,"").strip() + '.bat' #3DO makes files MakePythonFile(pyFile) MakeBatchFile(batchFile) #3DO Run the batch file runBat = dst + batchFile print "About to run " + runBat from subprocess import Popen #3DO os.system just popped up a cmd window and disappeared...popen worked. Popen(runBat, cwd=dst) print "Script is complete"