I want to have this:
Set-Alias pr php \.fileToExecute
So that it runs the file in PHP (depending on where I am located when I execute pr).
|
I want to have this:
So that it runs the file in PHP (depending on where I am located when I execute
| |||
|
feedback
|
|
First create a function:
Then create the alias to run that function:
You probably want to run different files so the function should accept a variable as the file path:
Now set the alias as shown above and you can run this command:
| ||||
|
feedback
|