scan WIN directories with UNC pathnames

Michel Claveau, résurectionné d'outre-bombe informatique unseulmcmcmcmc at msupprimerlepoint.claveauPOINTcom
Mon Jul 26 09:16:48 EDT 2004


Hi !


Hard, directly. But, you can try :



import os,os.path

ret=os.popen('net use X: \\\\SSEERRVV\\C$','r')
print ret
print os.path.isdir('X:\\DDIIRR')




If you have the rights.
-- 
Michel Claveau






More information about the Python-list mailing list