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:
Kalle Sommer Nielsen 2009-06-26 07:11:35 +00:00
parent e10963451e
commit 01d98b9b7b

View file

@ -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>