mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Improved the batch code for the sample shell script
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282802 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
e10963451e
commit
01d98b9b7b
1 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.57 $ -->
|
||||
<!-- $Revision: 1.58 $ -->
|
||||
<chapter xml:id="features.commandline" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Using PHP from the command line</title>
|
||||
<para>
|
||||
|
@ -1249,7 +1249,8 @@ This is a command line PHP script with one option.
|
|||
<title>Batch file to run a command line PHP script (script.bat)</title>
|
||||
<programlisting role="shell">
|
||||
<![CDATA[
|
||||
@C:\php\php.exe script.php %1 %2 %3 %4
|
||||
@echo OFF
|
||||
"C:\php\php.exe" script.php %*
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
|
|
Loading…
Reference in a new issue