C
C
crow_wolfy2019-06-16 01:36:19
Windows
crow_wolfy, 2019-06-16 01:36:19

Composer does not start from any directory, what's the problem?

Installed composer in the directory
C:\!WorkProjects\composer\
file structure
composer.bat
composer.phar
Registered in the environment variable Path - the path to this directory
Go to the directory
run cmd.exe
5d05715053a55619085485.png
Go to another directory run cmd.exe
5d0571f0b5168925535595.png
Do a feint with your ears - rename the composer.bat file to composer1.bat and run cmd.exe
5d057280d89b8406253490.png
Why doesn't it work as it is written in all installation manuals?
contents of composer.bat file
php "%~dp0composer.phar" %*

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
remyfox, 2019-06-16
@remyfox

I advise you to switch to linux. This is purely so, advice) because on Windows I have my brains **al a lot with packages, the
console is not shorter than the terminal

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question