Using AT on XP to run python script

Chris Stromberger bit_bucket5 at hotmail.com
Fri Jun 7 00:52:39 CEST 2002


On Thu, 06 Jun 2002 20:31:58 GMT, Don Garrett <garrett at bgb.cc> wrote:

>
>    Change "c:\python21\python.exe c:\scripts\script.py" to
>"c:\python21\python.exe" "c:\scripts\script.py" otherwise it's trying to turn
>that whole thing into a single file name. However, I would have expected the
>last thing you tried to work.

This appears to be working!  Many thanks Don.

>
>    Try using /interactive just for testing. It may be trying to open a command
>window or something. Maybe name the script .pyw
>
>Chris Stromberger wrote:
>
> > I'm having trouble getting AT on XP to run a python script for me.
> > Have tried:
> >
> > at xx:xx "c:\python21\python.exe c:\scripts\script.py"
> > at xx:xx "start c:\scripts\script.py"
> > at xx:xx "c:\scripts\script.py"
> >
> > and get "the system cannot find the file specified" for the first two.
> > The last version does nothing apparently--no error indication or
> > anything.
> >
> > I imagine it is related to user accounts and such.  Anyone have any
> > pointers?
> >
>




More information about the Python-list mailing list