

If you’re the type who bills by the hour, you can open the Start menu ( Figure 1-3, lower left) by clicking it with the mouse.

But it’s still called the Start menu, and it’s still the gateway to everything on the PC. In Windows 10, as you’ve probably noticed, the word “Start” doesn’t actually appear on the Start menu, as it did for years now the Start menu is just a square button in the lower-left corner of your screen, bearing the Windows logo ( ). Just about everything you do on your PC begins-or can begin-with your Start menu. It lists every useful piece of software on your computer, including commands, programs, and files. That’s why the Start menu is so important ( Figure 1-4). They may as well bear a sticker reading, “No user-serviceable parts inside.” The vast majority of them are not for you they’re support files, there for behind-the-scenes use by Windows and your applications. Thank you.Windows is composed of 50 million lines of computer code, scattered across your hard drive in thousands of files. If you want to know anything else related to this, comment below. These all are easy and quick ways to keep your window of the Command Prompt open so that you can easily configure and watch each command which you run through the batch file or Powershell Script.

Now run any command, the Command Prompt window will stay open as long as you will keep it open. This registry will save to your Registry Editor of Windows. Windows Registry Editor Version ”C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe\” –noExit \ “& \\\ “%1\\\ “C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe\ “ –NoExit \ “-Command\” \”if ( ( Get-ExecutionPolicy ) –ne ‘AllSigned’) & \\\ ”%1” \\\ “\””Īfter saving the file, double click on it. For this, type the following code in your Notepad and save the file with the. You can prevent Command Prompt window from closing after running commands through adding a Registry Key in the Windows Registry. You can easily see each command which had run on the result of bat file in CMD as long as you do not press any key. This will keep the Command Prompt window open until you do not press any key.

Now add “PAUSE” word at the end of your bat file. The second way I am going to show you is also a simple method.Įdit your bat file by right clicking on it and select “Edit” from the list. This is the very easy and handy way to prevent the Command Prompt window from closing after running commands.
