> * Run cmd.exe and see if you can run "dir f:\\code\\python\pgmgallery/*.*" >
that causes a message 'Invalid switch - "*.*".' > * Try using other directories under F: drive in your program and see> when > you start hitting the problem. i tried that..on some directories in the same drive this gives correct result and returns a list of filenames.however the error occurs on other directories ,looks like a weird windows problem! -- http://mail.python.org/mailman/listinfo/python-list