Re: [python-win32] Will wmi can a command on remore host and get the return code

2008-05-15 Thread Mike Driscoll
siddhartha veedaluru wrote: Hi, i'm tring to execute a exe that is placed in the mapped network drive on remote machine it seems it is not getting recognised. How can i run the exe on the mapped network drive Thanks, Siddhartha I would use the subprocess module. import subprocess #

Re: [python-win32] Will wmi can a command on remore host and get the return code

2008-05-15 Thread Tim Golden
siddhartha veedaluru wrote: Hi, i'm tring to execute a exe that is placed in the mapped network drive on remote machine it seems it is not getting recognised. How can i run the exe on the mapped network drive Please post some code -- and any traceback -- so we can see what you're doing. Th

Re: [python-win32] Will wmi can a command on remore host and get the return code

2008-05-15 Thread bob gailer
siddhartha veedaluru wrote: Hi, i'm tring to execute a exe that is placed in the mapped network drive on remote machine it seems it is not getting recognised. How can i run the exe on the mapped network drive Aw come on I'd think by now you'd know how to ask a question. -- Bob Gail

Re: [python-win32] Will wmi can a command on remore host and get the return code

2008-05-15 Thread siddhartha veedaluru
Hi, i'm tring to execute a exe that is placed in the mapped network drive on remote machine it seems it is not getting recognised. How can i run the exe on the mapped network drive Thanks, Siddhartha ___ python-win32 mailing list python-win32@python.or

Re: [python-win32] Will wmi can a command on remore host and get the return code

2008-04-30 Thread bob gailer
siddhartha veedaluru wrote: Hi,   I need to run a command on remote machine (may be in another domain also) and get the output and return code of that command or exe.   Also i need to copy file to remote machine.?   Can i achive it through wmi, if not help how can i get it done.

Re: [python-win32] Will wmi can a command on remore host and get the return code

2008-04-30 Thread Tim Golden
siddhartha veedaluru wrote: I need to run a command on remote machine (may be in another domain also) and get the output and return code of that command or exe. Also i need to copy file to remote machine.? Can i achive it through wmi I would suggest that WMI -- flexible as it undoubtedly is -

[python-win32] Will wmi can a command on remore host and get the return code

2008-04-30 Thread siddhartha veedaluru
Hi, I need to run a command on remote machine (may be in another domain also) and get the output and return code of that command or exe. Also i need to copy file to remote machine.? Can i achive it through wmi, if not help how can i get it done. Thanks a million, Siddhartha