473,472 Members | 1,882 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Read only (folder)



Hello,
I am trying to run a code which has an access to some folder that
contains files and folders,the strange thing is that this folder becomes
read only ,I change it before running the debugging to no read only (it
and all the things it contains) but it comes to be read only again
before i manipulate this folder. How comes?
Thanks

*** Sent via Developersdex http://www.developersdex.com ***
Jul 16 '08 #1
2 2218
On Jul 16, 12:36*am, csharpula csharp <csharp...@yahoo.comwrote:
Hello,
I am trying to run a code which has an access to some folder that
contains files and folders,the strange thing is that this folder becomes
read only ,I change it before running the debugging to no read only (it
and all the things it contains) but it comes to be read only again
before i manipulate this folder. How comes?
Thanks

*** Sent via Developersdexhttp://www.developersdex.com***
I have the same problem, kinda, and not from programming. I believe
it has to do with the 'permissions' set in Windows XP at the
"administrator" level. I code from PowerUser level, but if I code
from Administrator level all files become Read Only. So perhaps check
the permissions at the admin level.

RL
Jul 16 '08 #2
Folders, by default, or NEITHER read-only nor writable. If you look
closely, that is not a two state check box - it is a three state box. Clear
is writable, checked is read-only, and gray (which is what you will see) is
neither. The option is only there so you can, using explorer, set the
read-only check box, and then select apply to all contents, and change all
the files in the folder to read-only. Next time you look at the folder, that
check box will be gray.
In short, the setting of the folder has no impact on your ability to
write files into that folder.

"csharpula csharp" <cs*******@yahoo.comwrote in message
news:uB**************@TK2MSFTNGP05.phx.gbl...
>

Hello,
I am trying to run a code which has an access to some folder that
contains files and folders,the strange thing is that this folder becomes
read only ,I change it before running the debugging to no read only (it
and all the things it contains) but it comes to be read only again
before i manipulate this folder. How comes?
Thanks

*** Sent via Developersdex http://www.developersdex.com ***

Jul 16 '08 #3

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

Similar topics

7
by: Rich | last post by:
Hi, I'm having problems with changing the Read Only properties. Running Winxp and i cannot get the "read only" to clear off a folder. The folder is one that i want to change the data in and it...
2
by: Chen Zhuo | last post by:
Hi, I need to write some code to test whether a folder has read/write permission. The idea is to try to read sub-directories in this folder, if succeed, then test whether it's read-only. Any...
5
by: manokumar | last post by:
hiye, i notice that some if not all of my folders in winxp pro. are set as read only and its giving me some problem with development. so as the natural thing, i unchecked the read only option and...
5
by: Mitchell S. Honnert | last post by:
Is there a way, given the full path of a folder on a network, that one can programatically tell if you have Read access to that folder? I have an application where the user is able to select a...
1
by: shank | last post by:
I borrowed the below code from http://www.brainjar.com/asp/dirlist/ and cannot get it to read my folder files. I don't get any errors or any output to screen. I have the below folder permissions...
2
by: Bill Fallon | last post by:
I have a VS2005 VB.Net windows form application deployed to a share drive. The windows explorer security permissions for this application (.exe) file is set for Everyone with List Folder/Read Data...
8
by: paquer | last post by:
Database Users need to have Read/Write etc... permissions to the folder where the Database resides in order to create the lock file. I have read only users. I have set up the Shortcut that links...
4
by: Jim | last post by:
I have the following piece of code: Directory.CreateDirectory(myDir); DirectoryInfo lDir = new DirectoryInfo(myDir); lDir.Attributes = FileAttributes.Normal; When this code runs, my directory...
0
by: alivip | last post by:
Is python provide search in parent folder contain sub folders and files for example folder name is cars and sub file is Toyota,Honda and BMW and Toyota contain file name camry and file name corola,...
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,...
1
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.