To hide the folder using cmd, we have to follow the some steps:
Step 1: Press Windows + R to open the run command and type CMD and click on ok button. Step 2: Now CMD window appears as follows: Step 3: Now go to entire location to hide the folder and if we want to check the folders then we have to type dir command and press enter dir command show the all folders available in that location.
Step 4: now type attrib +h Here we have used hello folder for hiding. Now if we want to unhide the folder then type attrib -h This command will show the hidden folder.