When we are using attrib command it may be possible that follow error may occur.
- 'attrib' is not recognized as an internal or external command, operable program or batch file.
This error may occur because of system can not find C:\Windows\System32 . So we have to set path with this value. Follow steps for set this path.
Step-1 : Copy Path Value
Locate System32 directory in Windows directory in C drive.
Copy this path C:\Windows\System32;
Copy this path C:\Windows\System32;
Step-2 : Set Environment Variable
Open System property and set Environment variable path and its value. Follow below instruction.
Now set variable name as path and paste path value in variable value.
Press OK button to save and close window.
Now you can run attrib command without error.
STILLIT IS NOT ATTRIB NOT WORKINH
ReplyDeleteThis did not work for me because C:\Windows\System32 was already in the path
ReplyDeleteMaybe you should type a lowercase 's' in the "System32". Like
Delete𝙲:\𝚆𝚒𝚗𝚍𝚘𝚠𝚜\𝚜𝚢𝚜𝚝𝚎𝚖𝟹𝟸
thank you very much, it worked for me.
ReplyDeleteThank you! It worked.
ReplyDeletethis is not work for me C:\Windows\System32
ReplyDeletei use lowercase letter for s for system and w for windows stll attrib is not recognized as internal or external command
ReplyDelete