Running Python file using Batch file

76 views
Skip to first unread message

Blitz!

unread,
Jul 4, 2012, 3:07:29 AM7/4/12
to python...@googlegroups.com
Hi All,

Could anybody give code for batch file to run some 30 Python files at once. Please read the requirements as:

1) I want to schedule ~50 python files(.py) using windows scheduler in Windows XP; which will make me to create ~50 schedules, so i want to simplify it by creating a batch file which will execute all python files once its Run by scheduler.
2) Python exe is in c:\python27\ and my python files are in folder: C:\Documents and Settings\user\Desktop\Python\

So, it would be very helpful if anyone provides me the Batch file script.

Thanks in advance,
Dinesh G.

John Machin

unread,
Jul 7, 2012, 6:50:53 PM7/7/12
to python-excel


On Jul 4, 5:07 pm, Blitz! <blitzm...@gmail.com> wrote:
> Hi All,
>
> Could anybody give code for batch file to run some 30 Python files at once.

This is not a "gimme teh codez" site ...

> Please read the requirements as:

... and your requirements are not on-topic for this group.
Reply all
Reply to author
Forward
0 new messages