Results 1 to 2 of 2
  1. #1
    XGelite's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Location
    Enter text here
    Posts
    1,344
    Reputation
    12
    Thanks
    276

    TuT] How to Change File Attributes from Read only to Normal [TuT

    Ok this is how you change a file attribute to normal.

    Code:
    System.IO.File.SetAttributes("C:\File_Path\File_Name.*", System.IO.FileAttributes.Normal) ' changes file from read only to normal
    so if youve got a stuborn read only file and want to delete it, just add this code before it.

  2. The Following User Says Thank You to XGelite For This Useful Post:

    xakerino (01-26-2011)

  3. #2
    Zoom's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Your going on my 24/7 DDoS hit list.
    Posts
    8,552
    Reputation
    127
    Thanks
    5,970
    My Mood
    Happy
    -Rest in peace leechers-

    Your PM box is 100% full.

Similar Threads

  1. [Help] Reading XML Attributes From File [solved]
    By nathanael890 in forum Visual Basic Programming
    Replies: 7
    Last Post: 08-19-2011, 09:30 AM
  2. How to change the attributes of FX
    By InCognito in forum Combat Arms Mod Tutorials
    Replies: 30
    Last Post: 08-03-2010, 02:20 PM
  3. [TuT] How to delete read only files.
    By XGelite in forum Visual Basic Programming
    Replies: 0
    Last Post: 10-13-2009, 09:59 AM
  4. Replies: 3
    Last Post: 07-19-2009, 01:48 AM
  5. [TuT] How to change the BGM to whatever you want!
    By jerry0 in forum Combat Arms Hacks & Cheats
    Replies: 9
    Last Post: 08-13-2008, 12:26 AM

Tags for this Thread