To do this, follow the steps:
- Connect the USB drive to your computer.
- Open the Command Prompt in your system.
- Type the command: chkdsk [Letter Assigned to USB]: /f and hit enter.
- Type the command: attrib -h -r -s [Letter shown for USB in your Computer] and hit enter.
- Wait for the process to complete and then check your USB for previous files.