Question: how to retrieve files in sd card using cmd?
Answer: Use a card reader to connect the memory card where you deleted files to a Windows computer. ... 
Press the Windows key + R simultaneously. ... 
Type the first command line: chkdsk G: /f and then press Enter. ... 
Type G: (the drive letter) again to go back to start again.