Please register or login. There are 0 registered and 907 anonymous users currently online. Current bandwidth usage: 326.30 kbit/s December 11 - 11:16pm EST 
Hardware Analysis
      
Forums Product Prices
  Contents 
 
 

  Latest Topics 
 

More >>
 

    
 
 

  You Are Here: 
 
/ Forums / Windows XP, 2000, 98 /
 

  Can't remove 'Read-only' attribute on folder in XP 
 
 Author 
 Date Written 
 Tools 
kOrny Nov 03, 2010, 06:51pm EDT Reply - Quote - Report Abuse
Private Message - Add to Buddy List Replies: 2 - Views: 2399
I have a piece of software that checks a certain folder for images. If there are images in the folder, the software uploads them to an FTP server and then moves the images into a sub folder under the original folder the images are dumped into.

Whats happening is that the software is giving an error message saying that it can't access the file for whatever reason. The images are being moved to the sub folder, but are not being uploaded to the FTP. This software works on most computers, however this particular PC is giving us problems, and I'm almost certain its because of the folder attributes.

Every time I uncheck the 'Read-only' check box in the folder properties and hit apply, when I go back into the folder properties, the 'Read-only' is still checked (or squared/partially checked I guess).

I've tried manually setting attributes in the command line and followed a couple Microsoft articles but still no dice. Anyone have any ideas?


Want to enjoy fewer advertisements and more features? Click here to become a Hardware Analysis registered user.
john albrich Nov 03, 2010, 07:25pm EDT Reply - Quote - Report Abuse
Private Message - Add to Buddy List  
>> Re: Can't remove 'Read-only' attribute on folder in XP

I've run into similar problems when the total path/filename of files became too long for the OS to deal with properly. Things wouldn't necessarily "hard" fail as such...copies, moves, and deletes became unpredictable...and one of the things I remember is file attributes mysteriously changing. Once I shortened preceeding folder names in the total path the idiosyncrasies disappeared.

See "Maximum Path Length Limitation" in
http://msdn.microsoft.com/en-us/library/aa365247%28VS.85%29.aspx#maxpath

kOrny Nov 03, 2010, 08:34pm EDT Reply - Quote - Report Abuse
Private Message - Add to Buddy List  
>> Re: Can't remove 'Read-only' attribute on folder in XP
thanks, i'll give it a shot.

all suggestions are more than welcome/appreciated


Write a Reply >>


 

    
 
 

  Topic Tools 
 
RSS UpdatesRSS Updates
 

  Related Articles 
 
 

  Newsletter 
 
A weekly newsletter featuring an editorial and a roundup of the latest articles, news and other interesting topics.

Please enter your email address below and click Subscribe.