473,394 Members | 1,641 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Hidden files/folders on Windows

Can someone explain how I can check whether a file or
folder is hidden, using python. I have found references
to win32api on the web, which would provide what I need
but I couldn't find the module itself?

Thanks in advance!

--
Antoon Pardon
Jul 18 '05 #1
2 4192
Win32file.GetFileAttributesEx

Rony

"Antoon Pardon" <ap*****@forel.vub.ac.be> a écrit dans le message de news:
sl********************@trout.vub.ac.be...
Can someone explain how I can check whether a file or
folder is hidden, using python. I have found references
to win32api on the web, which would provide what I need
but I couldn't find the module itself?

Thanks in advance!

--
Antoon Pardon

Jul 18 '05 #2
Antoon Pardon wrote:
Can someone explain how I can check whether a file or
folder is hidden, using python. I have found references
to win32api on the web, which would provide what I need
but I couldn't find the module itself?


the python download page on python.org points you to this
page:

http://starship.python.net/crew/mhammond/

</F>


Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Pete Gomersall | last post by:
Hi All, I have seen many examples of deleting folders with subfolders and files. (system.io.directory/info etc delete method) However, I cannot find a decent code example which will work where...
2
by: Glen | last post by:
As I understand it, when the first page of an application is accessed, all ASPX/ASCX/etc. files in the same folder are compiled using the JIT compiler. Is there a way to turn this feature off? ...
3
by: Saranjit Singh | last post by:
Hi, I am trying to get file listing that would ignore hidden files and folders. But using the Directory.GetFiles method seems to get all files and folders in the specified path irrespective of...
2
by: D Wright | last post by:
It would suffice to state, I am very new to the .NET world, as well as to Visual Studio, Visual C#, and ASP.NET. Nonetheless, I'm certain the solution to several challenges I've presented myself...
3
by: Christian Blackburn | last post by:
Hi Gang, All I want is to be able to search a file for files matching a certain criteria. However, VB seems heart set on returning hidden folders along with my list of files. I've tried the...
19
by: Badr.ALmuzini | last post by:
hi,there how can i make php file extension hidden in the URL somthing like this (http://mail.google.com/mail/?view) Regard....
3
by: Kimera.Kimera | last post by:
I'm trying to write a program in VB.net 2003 that basically deletes all files, folders, sub-folders and sub-sub folders (etc). The program is simply for deleting the Windows/Temp folder contents,...
11
by: karthi84 | last post by:
hi, if i have selected view hidden files and folders option from the folder option it is not enabled. at the time of applying it works but if i close that window and open it again its not...
0
by: =?ISO-8859-1?Q?Konrad_M=FChler?= | last post by:
Hi, I try to delete a whole directory-tree using shutil.rmtree(...) But there are always the hidden files and folders (e.g. from the svn ..svn) left. How can I delete -all- files and folders...
3
by: =?Utf-8?B?UGVycmlud29sZg==?= | last post by:
Not sure where to post this... Found some interesting behavior in Windows Search (Start =Search =All files and folders =search for "A word or phrase in the file:"). This applies to XP and maybe...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.