... News | Home | Impressum | Contact | Thank you | Listed at | Link to me

HOME » Faq » FAQ - Windows-Command-Prompt »  ««« FAQ 08 OF 12 »»»

How to remove read-only or hidden file attribute vial cmd?

The solution to remove read-only or hidden file attribute via cmd in all windows OS!


If you want to change the file attribute via windows command prompt please use ATTRIB command!

Description of the attributes:
H=Hidden,  S=System, R = Read-only, A=Archive
use "+" to set a file atribute and "-" to remove file attributes!

# Show the file attribute in folder C:\TEST!
C:\Test>ATTRIB *.*
A   HR     C:\Test\5.txt
A   HR     C:\Test\Hidden-File1.txt
A   HR     C:\Test\System File1.txt


# Change the file attribute!
"+" Sets an attribute.
"-" Clears an attribute.

In the example here, delete read-only attribute for all files in the folder "test".
for single File ARTTIB 5.txt -R remove read only
or ARTTIB 5.txt -H remove hidden file attribute

C:\Test>ATTRIB *.* -R /S

# List / Show file attribute again!
C:\Test>ATTRIB *.*
A   H      C:\Test\5.txt
A   H      C:\Test\Hidden-File1.txt
A   H      C:\Test\System File1.txt


The help file for ATTRIB command!

Microsoft Windows X [Version 5.1.2600]
(C) Copyright 1985-2014 Microsoft Corp.

C:\Documents and Settings\Administrator\Desktop>ATTRIB /?
Displays or changes file attributes.

ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [drive:][path][filename]
 [/S [/D]]

+   Sets an attribute.
-   Clears an attribute.
R   Read-only file attribute.
A   Archive file attribute.
S   System file attribute.
H   Hidden file attribute.
Specifies a file or files for attrib to process.
/S  Processes matching files in the current folder
and all subfolders.
/D  Processes folders as well.

C:\Documents and Settings\Administrator\Desktop>

FAQ 8: Updated on: February 20th 2014 13:04

Similar questions and answers in the Faq

 How to displays all network connections and listening ports?
 Delete and Overwrite permanently?
 Make Windows command prompt wider, how to?
 Taskkill with the Cmd.exe, how to use correct and useful with examples!
 Close correctly, the command prompt e.g. cmd.exe!
 How to find your IP Address quickly?
 Start programs with different priority classes, how to?
 How to scans all protected system files?
 How to create at once, several subfolders levels?
 How can I run the Windows Command Prompt?
 How to remove the OneDrive folder from File Explorer in Windows-10?
 How to see hidden files and folder and file name extensions in Windows 8 / 10 Explorer?
 How can I uninstall the File Unlocker ThisIsMyFile?

... My question is not there in the FAQ

Direct to FAQ:
# Q-DIR # WinScan2PDF # DontSleep # DesktopOK # Windows-10 # Windows-8 # Windows-7 # SoftwareOK # NewFileTime # ExperienceIndexOK # Run-Command # NonCompressibleFiles # BlankAndSecure # OnlyStopWatch # MultiClipBoardSlots # PointerStick # Extern-Downloads # DesktopSnowOK # System-General # Microsoft-Office # FileSystem # GetWindowText # TheAeroClock # ThisIsMyFile # AlwaysMouseWheel # Beginners # OneLoupe # Windows-Command-Prompt # ProcessKO # This-and-That-or-Other # IsMyHdOK # QuickTextPaste # MeinPlatz # Internet-WWW # FontViewOK # TraceRouteOK # Android # StressMyPC # Samsung-Galaxy # Glossar # WinBin2Iso
Asked questions on this answer:
  1. How to change hidden to readonly files?
  2. Unhide hidden files server 2012 cmd?
  3. Cmd del all attributes?
  4. Remove read only attribute windows 8?
  5. Remove read-only attribute file?
  6. How to remove read only file in c drive?
  7. Remove the hidden, read only, and system attributes from command prompt windows 7?
  8. How to remove readonly files from c drive?
  9. How to remove read-only attribute using cmd?
  10. How to remove file hidden and system properties using command prompt?
  11. Folder read only c:\windows di win 8?
  12. Change read only attibute on program data file windows 7 cmd?
  13. Cmd command to remove hidden attribute?
Keywords: windows, command, prompt, remove, read, only, hidden, file, attribute, Questions, Answers, Software


Quick-Link's : Remembered Fonts Restore icon positions x64 Print directory
Home | Thanks | Contact | Link me | FAQ | English-AV | Impressum | Translate | PayPal | PAD-s
 © 2017 by Nenad Hrg softwareok.desoftwareok.comsoftwareok.eu
download win 7 // windows 7 Starter download // windows 7 Home download // windows 7 Pro download // windows 7 Ultimate download // Filter the Files // Internal file association //