Wikipedia:Reference desk/Archives/Computing/2019 April 11

= April 11 =

Closing CMD prompt while a process is running
Hello, I was just running a DISM.exe scan on Windows 8, which is done via command prompt. The percentage progress etc is shown in the cmd window. I accidentally closed the cmd window. Does that stop the process, or if not, how do I check the process’s progress? Thanks Amisom (talk) 20:48, 11 April 2019 (UTC)


 * Yes, when you run a program within a command prompt, note how the command prompt's title bar changes to show the name of the exe running within it. This is the same as running a dos-like exe separately and having it flash up a command prompt box then disappear as it finishes. With command prompt though, that same exe is running within the cmd.exe interpreter, but still has a path to the rest of the system. So if you close cmd.exe with a program running inside it, that program gets closed too. RegistryKey(RegEdit) 04:44, 12 April 2019 (UTC)z
 * I am not sure that DISM.exe is a dos-like program. It is win64 application (in 64-bit system) and it does not run within cmd. Ruslik_ Zero 20:34, 12 April 2019 (UTC)
 * You should be able to see whether DISM is still running using Task Manager. Mitch Ames (talk) 08:25, 14 April 2019 (UTC)