Re: How to find the file / directory which is hidden?

2010-04-12 Thread Pradnya
Hello Praveen, Thanks for you reply I tried with following script and it worked import win32file import win32con int a = win32file.GetFileAttributes("C:\\TestFiles\\r.txt") & win32con.FILE_ATTRIBUTE_HIDDEN win32file.GetFileAttributes("C:\\TestFiles\\r.txt") will return 32 if the file is withou

Re: How to find the file / directory which is hidden?

2010-04-12 Thread Praveen
There is not a big deal. If you want to find the hiddend file on windos there is one command attrib -h for more info look at http://commandwindows.com/command2.htm and find for "Changing file attributes with "attrib" " for unix http://www.faqs.org/docs/securing/chap5sec62.html you need to write and

Re: How to find the file / directory which is hidden?

2010-04-12 Thread bruno desthuilliers
On 12 avr, 14:47, Pradnya wrote: > Hello, > > I am using Django with Python on windows. I want to list the files > from specific directory and want to highlight files / directories > which are hidden. How to recognize a file / directory as it's hidden? This is highly platform-specific, and by no

How to find the file / directory which is hidden?

2010-04-12 Thread Pradnya
Hello, I am using Django with Python on windows. I want to list the files from specific directory and want to highlight files / directories which are hidden. How to recognize a file / directory as it's hidden? This particular application could be running on Unix / Linux platform. Is there any com