skip to main | skip to sidebar

me7486 blog

Thursday, July 2, 2009

Turn off File Readonly Attribute

alway turn it off
fi.Attributes &= ~FileAttributes.ReadOnly;

flip
fi.Attributes ^= FileAttributes.ReadOnly;

Posted by me7486 at 4:09:00 PM
Labels: .NET, C#

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

My Links

  • ANZ Bank Internet Banking
  • ASB Bank Internet Banking
  • NZ FreeView TV Guide
  • TelstraClear My Profile
  • TelstraClear TV Guide
  • Vodafone NZ Service Login

IT Dev Links

  • CodePlex Microsoft Open Source
  • Microsoft ASP.NET Official Site
  • OmegaMan's Musings .NET Info
  • Scott Gu's Blog
  • VMWare Fusion Forum

Blog Archive

  • ►  2011 (2)
    • ►  May 2011 (2)
  • ►  2010 (1)
    • ►  January 2010 (1)
  • ▼  2009 (13)
    • ►  October 2009 (1)
    • ▼  July 2009 (2)
      • Turn off File Readonly Attribute
      • Regular Expression CSV Tokeniser Update
    • ►  June 2009 (2)
    • ►  May 2009 (1)
    • ►  March 2009 (1)
    • ►  February 2009 (3)
    • ►  January 2009 (3)
  • ►  2008 (34)
    • ►  December 2008 (4)
    • ►  November 2008 (2)
    • ►  October 2008 (5)
    • ►  September 2008 (2)
    • ►  August 2008 (1)
    • ►  July 2008 (11)
    • ►  June 2008 (9)

About Me

me7486
Auckland, New Zealand
IT Worker
View my complete profile