The attrib command should solve your problem.
To understand where to use white space, check it:Īttrib -s -h *.* /S /D.Īfter that, it is better to safely eject the USB drive than re-attach and re-open it. Now type the command attrib -s -h *.* /S /D. You will see a black box where you must enter the drive letter and colon “:” (for example, D:). Click on the window and click on “Run as administrator”. You need to be extremely careful here, so as not to make any mistakes.įirst, connect the USB drive to the PC and then follow these instructions:Ĭlick Start and type “cmd”. This method is based on recovering hidden files in a USB drive using the command line.