There could be a few reasons why your computer keeps opening the command prompt. One possibility is that you may have forgotten to close the command prompt window when you finished using it. If you're using a Windows 10 or 8.1 computer, you can close the command prompt by right-clicking on the taskbar and selecting "Close Command Prompt." Another reason is that you may have left open a command prompt window that was used to access an old file or program.