Question: how to recover deleted files on sd card using cmd?
Answer: Connect your Hard disk/SD card/USB with the system. ... 
Type: command prompt and right-click on Command Prompt, select "Run as administrator". ... 
Type: chkdsk F: /f in Command Prompt and hit Enter. ... 
Type: Y and hit Enter to continue.
Type: F and hit Enter again.