I would like to run the command line : "php file.php" insted of "C:\xampp\php\php.exe file.php"
I tried to look on registry editor, without success
Could you help me ?
|
I would like to run the command line : "php file.php" insted of "C:\xampp\php\php.exe file.php" I tried to look on registry editor, without success Could you help me ? | ||||
|
feedback
|
This question came from our site for professional and enthusiast programmers.
|
You can add C:\xampp\php\ to your PATH env variable. Test it out locally by doing this:
In the end, if you want to keep this across multiple cmd sessions, you will need to go into your System dialog in your Control Panel and add it to the Path environment variable there. | |||
|
feedback
|
|
You could doskey at a command prompt.
will give you brief help,
will define a macro so that
will expand to
| |||
|
feedback
|
|
There is a registry key where you can register applications called App Paths. | |||
|
feedback
|