On 1:59 PM, Tim Golden wrote:
On 04/01/2010 21:18, Mike Driscoll wrote:
The OP should check out Tim Golden's winshell module as it gives access
to the common folders quite easily:
http://timgolden.me.uk/python/winshell.html
Thanks for the plug, Mike. Problem is that the
OP is after running
On 04/01/2010 21:18, Mike Driscoll wrote:
The OP should check out Tim Golden's winshell module as it gives access
to the common folders quite easily:
http://timgolden.me.uk/python/winshell.html
Thanks for the plug, Mike. Problem is that the
OP is after running this code on multiple machines
Kelvin Lomboy Mendez wrote:
I’m currently writing a script to access approximately 400 computers
for removing a particular app from the system. I’m having problems
getting results using the wmi c.CIM_DataFile (name=file). When I use
file as a variable which equals to the path to the app I
On 1:59 PM, Tim Roberts wrote:
Kelvin Lomboy Mendez wrote:
I'm currently writing a script to access approximately 400 computers
for removing a particular app from the system. I'm having problems
getting results using the wmi c.CIM_DataFile (name=file). When I use
file as a variable which
I'm currently writing a script to access approximately 400 computers for
removing a particular app from the system. I'm having problems getting
results using the wmi c.CIM_DataFile (name=file). When I use file as a
variable which equals to the path to the app I want to remove I don't
get nothing
Don't do this:
#File to query
string = C:\DOCUME~1\profileName\LOCALS~1\Temp\\Temporary Directory 1 for
deluxetreee (2).zip\Christmas.exe
#Substitute \ to \\
path = re.sub('', '', string)
I can see nothing wrong with this particular bit of code, but sooner or later
doing