Accessing files in a directory which is a shortcut link (Windows)
jjkk73 at gmail.com
Sat May 2 12:16:48 EDT 2009
I'd like to process files in a directory which is in fact a short cut link
to another directory (under windows XP).
If the path to the directory is for instance called c:\test. I have tried
both following code snipets for printing all names of files in the
++ snippet 1++
for filename in glob.glob( os.path.join(r'c:\test', '*') ):
++ snippet 2++
for filename in glob.glob( os.path.join(r'c:\test.lnk', '*') ):
Neither solution works.
Thanks very much for any help.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list