Is there a command that exists that will open any application from PowerShell?
When typing in "notepad", this will open Microsoft Notepad. However, other applications do not seem to open this way.
Is there a command that exists that will open any application from PowerShell?
When typing in "notepad", this will open Microsoft Notepad. However, other applications do not seem to open this way.
Notepad runs in this way not because of any Powershell magic, but because notepad.exe exists in one of the directories specified in your $env:PATH environment variable. The system behaves the same as when using cmd.exe (Command Prompt) in this regard.
You can start any application by specifying the full path to its executable: C:\Program Files\FileZilla FTP Client\filezilla.exe. You can optionally use Start-Process with the EXE if you want to capture a reference to the executable to gain more control over it from Powershell.
I know this is an old thread, but if you are trying to open a file you can do it like this
& .\filename.ext
It will use the standard program to open the file
Start-Process is the commandlet you are looking for.
Welcome to 2022! The most simplest method is as below :-
1. Open powershell as Administrator
2. See all the App-IDs via this command
StartApps
3. Note the AppID of app you want to open
in our case we have to open VoiceRecoder soo.. note it baby
4. Finally, open Notepad via AppId
explorer shell:appsFolder\Microsoft.WindowsSoundRecorder_8wekyb3d8bbwe!App
AppIds are almost same for each systems
I hope you see the answer, because it's been 5 years you asked this question.