note 93479 deleted from features.commandline by cmb
| From: | cmb@php.net | Date: | Sun, 30 Jun 2019 09:50:29 +0000 |
| Subject: | note 93479 deleted from features.commandline by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-211430@lists.php.net to get a copy of this message | ||
Note Submitter: dj dot rokx at gmail dot com
----
Use PHP as Scripting Language in Windows Vista and 7:
ASSOC .phs=PHPScript
FTPYE PHPScript=[path to]\php.exe -f "%1" -- %*
optional set PATHEXT=.phs;%PATHEXT%
now you can execute any php-script (ext: .phs) from the shell like a .vbs or .cmd.
"c:\testscript.phs arg1 arg2" or with the optional step "c:\testscript arg1
arg2"
i hope this helps somebody.