The Command Prompt, also known as CMD, can be a useful tool for recovering deleted files. By using the attribute command, you can fix file attributes that may have been affected by malware or other issues. Connect your external hard drive, open CMD, and type the appropriate attribute command to restore visibility and access to your files.