To roll back CMD: Open a command prompt. Change to the directory where you installed Command Prompt. Type "cmd" and press Enter. At the command prompt, type "cd /d" and press Enter. Type "cmd" and press Enter again. At the command prompt, type "dir" and press Enter.