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!
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!
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]
+ 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: 24 September 2018 00:27
ALT+F4 or close window button, is not the right solution to close the windows command prompt correctly If you want to close the command prompt via right
The taskkill can be used to end one or more processes in any windows OS. With TASKKILL, processes can be killed by the process id or image name. There are
The solution is easy to make the Windows command prompt cmd window wider, to see more of the output text It can be annoying if you are working with the
If you enter long file or folder paths in the cmd.exe command prompt the solution is very simple to avoid typos errors Info: Content: 1. Solution
You can start programs with a specific process priority via the Windows command prompt cmd.exe, with help from the START command Here are the solutions
With NETSH, it is conceivable to display the Wi-Fi or WLAN driver information under Windows Please start the Windows command prompt keyboard shortcut Windows
The solution is simple to use in CMD the NET HELP command, the solution is for Windows 10 and Windows 8.1 plus seven Please start the CMD and enter the
»» My question is not there in the FAQ
|Asked questions on this answer:|
- Change attribute hidden cmd?
- Show cmd attributes on Windows 10, Server 2016, and 2012?
- Hidden files with cmd attribute change Windows?
- Remove write protection via batch cmd line?
- Change file attribute hidden cmd line?
- Change file attributes cmd?
- Cmd show hidden files?
- Change drive attributes?
- How to change hidden to readonly files?
- Unhide hidden files server 2012 cmd?
- Cmd del all attributes?
- Remove read only attribute windows 8?
- Remove read-only attribute file?
- How to remove read only file in c drive?
- Remove the hidden, read only, and system attributes from command prompt windows 7?
- How to remove readonly files from c drive?
- How to remove read-only attribute using cmd?
- How to remove file hidden and system properties using command prompt?
- Folder read only c:windows di win 8?
- Change read only attibute on program data file windows 7 cmd?
- Cmd command to remove hidden attribute?
- Hide Cmd name?
- Folder attributes hidden under Windows Server 2016 and 2012?
- Windows 7, 10, 8.1 attribute hidden hidden?
- Hide folder commandline?
- Change cmd attribute?
- Win 10 file attributes remove, edit even under Windows Server 2016 and 2012?
- Hide cmd folder console command?
- Console cmd file properties read-only windows?
- View and change attributes drive c?
- Hide folder?
- Hidden Takeown attribute?
- Folder attribute hidden change MS DOS?
Keywords: windows, command, prompt, remove, read, only, hidden, file, attribute, Questions, Answers, Software