浏览代码

Updated Windows manual installation guide

- The batchfile is not more than a one-liner.
- You don't need notepad to create the batchfile.
hakre 12 年之前
父节点
当前提交
9cdc571092
共有 1 个文件被更改,包括 2 次插入8 次删除
  1. 2 8
      doc/00-intro.md

+ 2 - 8
doc/00-intro.md

@@ -108,15 +108,9 @@ composer.phar:
 
 Create a new `.bat` file alongside composer:
 
-    C:\bin>notepad composer.bat
+    C:\bin>echo @php "%~dp0composer.phar" %*>composer.bat
 
-Paste the following in, it simply proxies all arguments to composer:
-
-    @ECHO OFF
-    SET composerScript=composer.phar
-    php "%~dp0%composerScript%" %*
-
-Save the file. Close your current terminal. Test usage with a new terminal:
+Close your current terminal. Test usage with a new terminal:
 
     C:\Users\username>composer -V
     Composer version 27d8904