changing the hidden property of a folder - urgent
-
How to change the hidden property of a folder through code? Plz help..it's urgent Thanks..
-
How to change the hidden property of a folder through code? Plz help..it's urgent Thanks..
Is
SetFileAttributes(_T("c:\\picture"),FILE_ATTRIBUTE_HIDDEN);
helpfuls?
WhiteSky
-
How to change the hidden property of a folder through code? Plz help..it's urgent Thanks..
SetFileAttributes()
--Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ Ford, what's this fish doing in my ear?
-
Is
SetFileAttributes(_T("c:\\picture"),FILE_ATTRIBUTE_HIDDEN);
helpfuls?
WhiteSky
YOu need to read the current attributes with
GetFileAttributes()
, make sure that succeeded, then callSetFileAttributes()
and add justFILE_ATTRIBUTE_HIDDEN
.--Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ Ford, what's this fish doing in my ear?
-
SetFileAttributes()
--Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ Ford, what's this fish doing in my ear?
sorry for not being specific.Actually i want to remove the hidden property that has been already set to a folder.. Thanks...
-
sorry for not being specific.Actually i want to remove the hidden property that has been already set to a folder.. Thanks...
-
YOu need to read the current attributes with
GetFileAttributes()
, make sure that succeeded, then callSetFileAttributes()
and add justFILE_ATTRIBUTE_HIDDEN
.--Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ Ford, what's this fish doing in my ear?