Are all folders in XP are readonly be default?
-
Hello All, I try to access programmatically C:\Documents and Settings\All Users\Start Menu\Programs and place a short cut. I get access denied error. Analyzing this I found that any folder in XP Pro is read only, Removing the read only attributes does not really change the folder attributes permanently as they are still read only viewing the properties again. Please suggest on how to go further. Thanks and Regards. Amarjeet.
-
Hello All, I try to access programmatically C:\Documents and Settings\All Users\Start Menu\Programs and place a short cut. I get access denied error. Analyzing this I found that any folder in XP Pro is read only, Removing the read only attributes does not really change the folder attributes permanently as they are still read only viewing the properties again. Please suggest on how to go further. Thanks and Regards. Amarjeet.
The read-only flag on a folder never really meant anything - it was only there for orthogonality (i.e. so that everything that applied to files also applied to folders). Microsoft repurposed the flag to have a different meaning in Windows - it now means that Explorer should check the folder for desktop.ini customizations. See http://blogs.msdn.com/oldnewthing/archive/2003/09/30/55100.aspx[^] for more.
Stability. What an interesting concept. -- Chris Maunder
-
Hello All, I try to access programmatically C:\Documents and Settings\All Users\Start Menu\Programs and place a short cut. I get access denied error. Analyzing this I found that any folder in XP Pro is read only, Removing the read only attributes does not really change the folder attributes permanently as they are still read only viewing the properties again. Please suggest on how to go further. Thanks and Regards. Amarjeet.