Software-OK
≡... News | ... Home | ... FAQ | Impressum | Contact | Listed at | Thank you |

  
HOME ► Faq ► FAQ - Windows cmd.exe Command-Prompt ► ««« »»»

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 MS Windows DEsktop 11, 10, ... and Server 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

C:\Test>

# 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

C:\Test>
# 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

C:\Test>

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.
 [drive:][path][filename]
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: 4 July 2021 13:43 Windows
Windows-Console

Close correctly, the command prompt e.g. cmd.exe!


ALT+F4 or close window button, is not the right solution to close the windows command prompt correctly Content: 1. Right way to close the command Prompt
Windows-Console

Taskkill with the Cmd.exe, how to use correct and useful with examples!


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
Windows-Console

Make Windows command prompt wider, how to?


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
Windows-Console

Long file and folder paths in the CMD prompt (insert,paste)!


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
Windows-Console

Start programs with different priority classes, how to do on Windows 10/8.1/7?


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
Windows-Console

Wi-Fi or WLAN Show Driver Information, how to (Command Prompt)?


With NETSH, it is conceivable to display the Wi-Fi or WLAN driver information under Windows 11, 10, and MS Server OS Please start the Windows command
Windows-Console

How to use CMD NET use HELP?


The solution is simple to use in CMD the NET HELP command, the solution is for Windows 11, 10, and Microsoft Windows Server OS Please start the CMD

»»

  My question is not there in the FAQ
Asked questions on this answer:
  1. How to remove readonly files from c drive?
  2. Change cmd attribute Windows 11?
  3. Folder attributes hidden under Windows Server 2016 and 2012?
  4. Cmd command to remove hidden attribute?
  5. Cmd show hidden files?
  6. Hide folder commandline?
  7. Change attribute hidden cmd?
  8. Console cmd file properties read-only windows?
  9. How to remove read-only attribute using cmd?
  10. Change drive attributes?
  11. Remove write protection via batch cmd line?
  12. How to remove file hidden and system properties using command prompt?
  13. Hide cmd folder console command?
  14. Hidden files with cmd attribute change Windows?
  15. Hide folder Windows 11?
  16. Unhide hidden files server 2012 cmd?
  17. How to change hidden to readonly files?
  18. Change read only attibute on program data file windows 7 cmd?
  19. Change file attribute hidden cmd line?
  20. Hidden Takeown attribute Windows 11?
  21. Windows 11, 10, 8.1 attribute hidden hidden?
  22. Change file attributes cmd Windows 11?
  23. Show cmd attributes on Windows 11, 10, Server 2016, and 2012?
  24. Folder read only c:windows di win 8?
  25. Folder attribute hidden change MS DOS?
  26. How to remove read only file in c drive?
  27. Remove read-only attribute file Windows 11?
  28. View and change attributes drive c Windows 11?
  29. Remove read only attribute windows 11?
  30. Hide Cmd name?
  31. Remove the hidden, read only, and system attributes from command prompt windows 7?
  32. Win 10 file attributes remove, edit even under Windows Server 2016 and 2012?
  33. Cmd del all attributes?
Keywords: windows, 11, 10, server, eleven, command, prompt, remove, read, only, hidden, file, attribute, Questions, Answers, Software




    

  + Freeware
  + File management
  + Decoration and fun
  + Automation
  + Office
  + Order on the PC
  + PC testing tools

  + SoftwareOK Pages
  + Micro Staff
  + Freeware-1
  + Freeware-2
  + Freeware-3
  + FAQ
  + Downloads

  + Top
  + Desktop-OK
  + The Quad Explorer
  + Don't Sleep
  + Win-Scan-2-PDF
  + Quick-Text-Past
  + Print Folder Tree
  + Find Same Images
  + Experience-Index-OK
  + Font-View-OK


  + Freeware
  + AutoHideDesktopIcons
  + BlankAndSecure
  + AlwaysMouseWheel
  + NewFileTime
  + DesktopClock3D
  + PointerStick
  + DesktopImages3D
  + WinPing
  + GetPixelColor
  + PAD-s


Home | Thanks | Contact | Link me | FAQ | Windows 2021 | Windows 10 | English-AV | Impressum | Translate | PayPal | PAD-s

 © 2022 by Nenad Hrg softwareok.de • softwareok.com • softwareok.com • softwareok.eu
0.062


► Can I force shutdown on Windows 11? ◄ ► Hard disk is formatted with XFS format! ◄ ► How to find auto startup folder in Windows 10/11 (Where is it)? ◄ ► What is an in-place upgrade from Windows 10 to Win 11? ◄ ► NAS and networks are not recognized on the Windows 10 / 11 computer (network drive setup)? ◄ ► Scanning with WinScan2PDF under Windows 11 is possible! ◄ ► Data transfer rates for DDR, DDR2, DDR3 and DDR4, how fast? ◄ ► Can I move and not copy while dragging with the mouse? ◄
This website uses cookies to ensure you get the best experience on our website more Infos & Privacy Policy
....