Important Windows Command Line


 You need to practice these commands with command line in windows operating system.

Make a File Read-Only

cmd

attrib +R filename.txt

Remove Hidden Attribute

cmd

attrib -H filename.txt

Apply Attributes to All Files in a Directory and Subdirectories

cmd

attrib +H *.* /S

Set Attributes for a Directory

cmd

attrib +S +H "C:\MyFolder" /D

Remove System and Hidden Attributes from Files and Folders

cmd

attrib -S -H *.* /S /D

Comments

Popular posts from this blog

PowerShell Command With Ipv6 in PC