Re: Newbie - pass variable to cscript

2009-03-03 Thread Rhodri James
On Tue, 03 Mar 2009 15:22:20 -, wrote: It's not firing off the vbs script. Have I got the syntax correct? Thanks. My latest attempt: vBS = "C:\\Program Files\\nasa\\nmail.vbs" os.system('cscript /from:wrk-...@pittcountync.gov / to:plsulli...@pittcountync.gov /sub:TEST /msg:hello ' + vBS)

Re: Newbie - pass variable to cscript

2009-03-03 Thread Gabriel Genellina
En Tue, 03 Mar 2009 13:22:20 -0200, escribió: On Mar 3, 10:07 am, "Gabriel Genellina" wrote: En Tue, 03 Mar 2009 12:19:22 -0200, escribió: > import os > os.system('cscript.exe /from:wrk-...@zzz.gov /to:plsulli...@zzz.gov' > "C:\\Program Files\\nasa\\nmail.vbs") > nmail.vbs works. I need to

Re: Newbie - pass variable to cscript

2009-03-03 Thread plsullivan1
On Mar 3, 10:07 am, "Gabriel Genellina" wrote: > En Tue, 03 Mar 2009 12:19:22 -0200, escribió: > > > import os > > os.system('cscript.exe /from:wrk-...@zzz.gov /to:plsulli...@zzz.gov' > > "C:\\Program Files\\nasa\\nmail.vbs") > > > nmail.vbs works. I need to make it work from a python script. Tha

Re: Newbie - pass variable to cscript

2009-03-03 Thread Gabriel Genellina
En Tue, 03 Mar 2009 12:19:22 -0200, escribió: import os os.system('cscript.exe /from:wrk-...@zzz.gov /to:plsulli...@zzz.gov' "C:\\Program Files\\nasa\\nmail.vbs") nmail.vbs works. I need to make it work from a python script. Thanks. ...and the problem is...? -- Gabriel Genellina -- http://

Newbie - pass variable to cscript

2009-03-03 Thread plsullivan1
import os os.system('cscript.exe /from:wrk-...@zzz.gov /to:plsulli...@zzz.gov' "C:\\Program Files\\nasa\\nmail.vbs") nmail.vbs works. I need to make it work from a python script. Thanks. -- http://mail.python.org/mailman/listinfo/python-list