This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
REM Simple wrapper for PHP PHAR files for Windows command line | |
REM Executes a phar file in a with the same name as this script in a subfolder named phars | |
REM Eg. Calling this script c:\tools\runphar.bat will execute "php c:\tools\phars\runphar.phar" | |
SET BASE_DIR=%~dp0 | |
SET SCRIPT_NAME=%~n0 | |
SET PHAR=%BASE_DIR%phars\%SCRIPT_NAME%.phar | |
SET PHP=php |
NewerOlder