running pyton on NT command lines
Dag Sunde
dag at orion.no
Fri Jun 23 04:05:56 EDT 2000
>From NT's helpfile on the subject:
"If the command is not an executable (.EXE) file,
you must precede the command with cmd /c;
for example cmd /c dir > c:\test.out."
You might also try to run it with the /INTERACTIVE
switch to allow it to interact with the desktop of the
current user. That might at least give you a clue on
what's going on...
HTH...
Dag Sunde
<ghost_man at my-deja.com> wrote in message
news:8ithrb$cj1$1 at nnrp1.deja.com...
> I have written several scripts that I want to run at some set time. I
> have been trying to get them to fire with the AT command line
> scheduler, but keep getting errors. I have tried several different
> variations to get it to run even putting the python executable in a
dos
> batch file and trying to run the dos batch file. I also have the
> python registered in my Windows 2000 environment path.
>
> my command line looks something like this
>
> at 16:30 "myscript.py"
>
> it fails everytime. I have also tried putting in a complete path to
> the python.exe.
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
More information about the Python-list
mailing list