Re: Run batch files in Windows XP

2005-07-25 Thread Benji York
Ernesto wrote: > Looks like I'm not getting my parameters to my batch file correctly. > I'm using os.system like this: > os.system('bootmanager.bat %s' %"BOOTMANAGER ALL") > > where 'BOOTMANAGER ALL' is what I type at the command prompt arguments. > That must not be right? The batch file will se

Re: Run batch files in Windows XP

2005-07-25 Thread Ernesto
Looks like I'm not getting my parameters to my batch file correctly. I'm using os.system like this: os.system('bootmanager.bat %s' %"BOOTMANAGER ALL") where 'BOOTMANAGER ALL' is what I type at the command prompt arguments. That must not be right? -- http://mail.python.org/mailman/listinfo/pytho

Re: Run batch files in Windows XP

2005-07-25 Thread Ernesto
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:

Re: Run batch files in Windows XP

2005-07-25 Thread Peter Hansen
Ernesto wrote: > The issue is I haven't done very much batch programming. I need to > prompt the user for input and each batch file is in a different > directory. How do I change directories and prompt for user input? Ah, now you're talking things where Python, while not strictly required, can

Re: Run batch files in Windows XP

2005-07-25 Thread Ernesto
Thanks Peter. The issue is I haven't done very much batch programming. I need to prompt the user for input and each batch file is in a different directory. How do I change directories and prompt for user input? Thanks! -- http://mail.python.org/mailman/listinfo/python-list

Re: Run batch files in Windows XP

2005-07-25 Thread Peter Hansen
[EMAIL PROTECTED] wrote: > I'm a newbie and I was wondering if anyone knew a (Python) script to > run 4 batch files, one after the other (assuming the directories are > known). It would be better if all 4 batch files could run > simultaneously, but that might break Windows... ;) The problem I ha

Run batch files in Windows XP

2005-07-25 Thread erniedude
Hi, I'm a newbie and I was wondering if anyone knew a (Python) script to run 4 batch files, one after the other (assuming the directories are known). It would be better if all 4 batch files could run simultaneously, but that might break Windows... ;) The problem I had was I couldn't get the fil