

Step 2: In the Registry Editor, go to the left pane and navigate to the following location: HKEY_CURRENT_USER\Software\Classes\LocalSettings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe Step 1: Press Win + R keys, then type regedit in the Run box that will open and click on the Ok button. Here is a Permission change that you can make in Registry Editor of your Windows PC to fix Microsoft Edge opens and closes immediately issue. Run the freshly installed Microsoft Edge and see if the issue persists. Step 5: In the PowerShell window, copy and paste the command mentioned below and press the Enter key: Get-AppXPackage -AllUsers -Name Microsoft.MicrosoftEdge | Foreach Īs soon as the above command is executed successfully, exit the PowerShell window and restart your PC. Here, type powershell, then go to the search results, make a right click on the Windows PowerShell option and select the Run as administrator option. Step 4: Open the Windows Search panel by pressing the Win + S keys. Step 3: In the Packages folder, select the folder named Microsoft.MicrosoftEdge_8wekyb3d8bbwe and delete it. The example Filetype in this command will be “i_view64” and the Filetype will be “.Step 2: A new File Explorer window will open. The command to close a file is even simpler and it follows this syntax: taskkill /im “filename.filetype” /t. Then type in the name and extension of the file you’re trying to open: “Filename.filetype.” In this example, the “Filename” will be screenshot and the “Filetype” will be.Navigate to the location of your file by typing the following into the command prompt window: Users\”Username”> cd C:\”Users\”User name”\”Location” In this example, the “Username” will be User and the “Location” will be desktop.Type “Cmd” in Windows search and click on the app in results to run it.

This means you need to enter the file name and its respective extension. To access a file directly, Command Prompt requires you to enter the specific path. This article will explain all the necessary commands to open a file, close it, open a folder, and move to a folder Opening a File You should know that certain actions are much faster via Command Prompt – file access, for example. However, there is nothing to be afraid of, entering the wrong code/command is not going to mess up your PC, the command just won’t execute.
