Re: Command-line does work when scheduled

2007-10-05 Thread Martin P. Hellwig
Jim wrote: > On Sep 30, 6:16 pm, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: >> On Sun, 30 Sep 2007 07:42:56 -0700, Jim <[EMAIL PROTECTED]> >> declaimed the following in comp.lang.python: >> >>> What else could be wrong? >>> Thanks, >> Possibly those associations are only defined for your

Re: Command-line does work when scheduled

2007-09-30 Thread Jay Loden
I sometimes see issues like this at work because certain processes, including scheduled tasks if I remember right, can run as Local System user instead of as your user account. That tends to be a real pain for Python or Perl scripts because that means that they don't have the associations config

Re: Command-line does work when scheduled

2007-09-30 Thread Jim
On Sep 30, 6:37 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Sun, 30 Sep 2007 11:42:56 -0300, Jim <[EMAIL PROTECTED]> escribi?: > > > > > > > On Sep 29, 8:45 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> > > wrote: > >> The %* at the end is important: if you created the association by usin

Re: Command-line does work when scheduled

2007-09-30 Thread Gabriel Genellina
En Sun, 30 Sep 2007 11:42:56 -0300, Jim <[EMAIL PROTECTED]> escribi�: > On Sep 29, 8:45 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> > wrote: >> The %* at the end is important: if you created the association by using >> "Open with...", or selecting Python from the list of installed programs, >> ve

Re: Command-line does work when scheduled

2007-09-30 Thread Jim
On Sep 30, 6:16 pm, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > On Sun, 30 Sep 2007 07:42:56 -0700, Jim <[EMAIL PROTECTED]> > declaimed the following in comp.lang.python: > > > What else could be wrong? > > Thanks, > > Possibly those associations are only defined for your login account,

Re: Command-line does work when scheduled

2007-09-30 Thread Jim
On Sep 29, 8:45 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Sat, 29 Sep 2007 22:04:06 -0300, Jim <[EMAIL PROTECTED]> escribi?: > > >> If it works this way, maybe the .py file extension is not correctly > >> registered. > > > Yes, it works this way. > > How do I register the .py extensio

Re: Command-line does work when scheduled

2007-09-29 Thread Gabriel Genellina
En Sat, 29 Sep 2007 22:04:06 -0300, Jim <[EMAIL PROTECTED]> escribi�: >> If it works this way, maybe the .py file extension is not correctly >> registered. > > Yes, it works this way. > How do I register the .py extension correctly? From a command line, type: assoc .py You should get: .py=Python

Re: Command-line does work when scheduled

2007-09-29 Thread Jim
On Sep 29, 6:56 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Sat, 29 Sep 2007 19:17:49 -0300, Jim <[EMAIL PROTECTED]> escribi?: > > > > > > > On Sep 29, 3:19 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> > > wrote: > >> En Sat, 29 Sep 2007 17:34:34 -0300, Jim <[EMAIL PROTECTED]> > >> esc

Re: Command-line does work when scheduled

2007-09-29 Thread Gabriel Genellina
En Sat, 29 Sep 2007 19:17:49 -0300, Jim <[EMAIL PROTECTED]> escribi�: > On Sep 29, 3:19 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> > wrote: >> En Sat, 29 Sep 2007 17:34:34 -0300, Jim <[EMAIL PROTECTED]> >> escribi?: >> >> > I want to schedule a Python program that reads the command line for >>

Re: Command-line does work when scheduled

2007-09-29 Thread Jim
On Sep 29, 3:19 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Sat, 29 Sep 2007 17:34:34 -0300, Jim <[EMAIL PROTECTED]> escribi?: > > > I want to schedule a Python program that reads the command line for > > input. However, when adding an argument to the command line Python > > will not p

Re: Command-line does work when scheduled

2007-09-29 Thread Gabriel Genellina
En Sat, 29 Sep 2007 17:34:34 -0300, Jim <[EMAIL PROTECTED]> escribi�: > I want to schedule a Python program that reads the command line for > input. However, when adding an argument to the command line Python > will not pick it up when using Windows scheduled tasks. > > How do I get it to work?