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

Re: [python-win32] Getting security permissions for folders on remote file share

2008-04-30 Thread Tim Golden
SPJ wrote: I have googled on this but have not found a way to get security permissions of all the folders on a remote file share using python win32 module. (I hope you know how NTFS security works, because while it's not necessarily used that way, it can get a lot more complex than you might im