create alias for path


Is it possible in PowerShell to create alias for path?

For example:
I have to write all time

I will happy if I could write


You could just create a variable in your powershell profile with that path as the value.

Then all you would need to do is something like

To add something to your profile profile, type $profile, into a powershell window and it will display the path to your powershell profile file. Create it if it does not exist.

Then put this line in the file, save and restart powershell.


create alias for path by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply