Thanks. Yeah I started to write in Python. Looks like this:
****************************************************** import os from os.path import join # Get input from user and make sure it is valid fileDirec = raw_input("\nEnter the path of where your STMP3XXX_SDK_FIRMWARE\nis located (i.e. C:\) : ") if not os.path.exists(fileDirec): exit(" ** File or path does not exist... exiting ** ") # Builds all binaries simultaneously for SDK 3.050 def buildBinaries(_path): _bootmanagerPath = join(_path, "STMP3XXX_SDK_FIRMWARE\DeviceDriver\Media\SmartMedia\BootManager\STMP3500\make") _usbmscPath = join(_path, "STMP3XXX_SDK_FIRMWARE\Projects\Sdk\lcdexample\usbmsc\make") _playerPath = join(_path, "STMP3XXX_SDK_FIRMWARE\Projects\Sdk\lcdexample\player\make") _mtpPath = join(_path, "STMP3XXX_SDK_FIRMWARE\Projects\Sdk\lcdexample\mtp\make") # First build bootmanager...change to that directory # and run the bootmanager file... Similarly for the others... os.chdir(_bootmanagerPath) os.execl(("bootmanager.bat"),("BOOTMANAGER ALL")) os.chdir(_usbmscPath) os.execl(("usbmsc.bat"),("USBMSC ALL UPDATER")) os.chdir(_playerPath) os.execl(("player.bat"),("PLAYER ALL")) os.chdir(_mtpPath) os.execl(("mtp.bat"),("MTP ALL")) # After gathering user input, call routine to build binaries... buildBinaries(fileDirec) ****************************************************************** The issue is after the first execution of os.execl, the script stops altogether. In other words after bootmanager.bat executes, its over. I would love to Python if I could get all scripts to execute (executing simultaneously would be a major + !) I'll try os.system THANKS!!! -- http://mail.python.org/mailman/listinfo/python-list