attrib is not a recognized command in cmd

attrib command troubleshooting:

attrib is not a recognized command

  When you try to use some attrib commands in command prompt like " attrib -h -r -s /s /d e:*.* " There may be any one of the following reasons:


  • Check with your command given, Check for spell mistakes and spaces.
  • You have given the command correctly, but it's not found in the directory. You may fail to give the class path, where the Command prompt variables are defined. 

set path

  •  My Computer - > Properties -> Advanced -> Environment variables
  • In system Variables, double click on the path to edit.
  • Give these two paths there, If not Present. 

                        1. C:\WINDOWS\system32;   

                        2. C:\WINDOWS

Share this article:

About Thomas Androws

Thomas Androws is the founder of waftr.com, He loves to Blog, share his Computer knowledge, making money online, and helping Computer newbies.

View all posts by Thomas Androws →

2 Comments on “attrib is not a recognized command in cmd”

Leave a Reply

Your email address will not be published. Required fields are marked *