PowerShell – Launch Application By File

Note: This is a recovered post from my old blog. See how we recovered these posts using the Wayback Machine and AI tooling.

Launch an application by directly calling the file path. Use this to open a specific file with its associated application, or to call an executable by its full path.

$App1 = "C:\test\test.txt"  #application or file you want opened
Start-Process -FilePath $App1  #open file