Skip to content

Commit

Permalink
Updated Windows manual installation guide
Browse files Browse the repository at this point in the history
- The batchfile is not more than a one-liner.
- You don't need notepad to create the batchfile.
  • Loading branch information
hakre committed Jan 29, 2013
1 parent f3dec1c commit 9cdc571
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions doc/00-intro.md
Expand Up @@ -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
Expand Down

0 comments on commit 9cdc571

Please sign in to comment.