Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Using Windows Powershell is there a shorter way of opening a program other than:

cd c:\program files
cd program folder
start program.exe

share|improve this question
Like start "c:\program files\program.exe" – 50-3 Sep 10 '13 at 3:12

You can use the Invoke-Item cmdlet and specify the full path as opposed to changing location multiple times to get to the directory containing your target executable

Invoke-Item "C:\Program Files\Program Folder\Program.exe"

share|improve this answer

You could skip the cd steps by specifying the whole path, e.g c:\path\to\program.exe

If it's a program you launch with some regularity, you could also create an alias. With an alias, you could have PowerShell launch c:\path\to\program.exe with just myapp, for example.

To create an alias, use the following command:

Set-Alias MyApp "C:\Path\To\Program.exe"

Finally, you could also add the folder location to your Windows PATH environment variable. Here's a link to a post detailing how to do this for Python, but you should be able to follow the same instructions for your folder.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.