Question: how to recover deleted files from sd card using command prompt?
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.