Vendor is not recognized as an internal or external command, operable program or batch file

Home

  • News & Insights

    • News & Insights Home
    • Innovation
    • IT Careers & Skills
    • Cloud
    • Cyber Security
    • Future of Work
    • All Categories
    • Marketing
    • HR
    • Finance
  • Community

    • Ask question
    • Community Home
    • Spiceworks Originals
    • Cloud
    • Collaboration
    • Networking
    • Water Cooler
    • Windows
    • All forums
    • How-Tos
    • Scripts
    • Vendors
    • Meetups
  • Reviews

  • Online Events

Log in Join

Log in Join

  1. Home
  2. Windows
  3. General Windows
  4. How-tos

Bill Windham

May 09, 2013 1 Minute Read

  • Spice

  • Reply (7)

  • Subscribe

  • Share

    • Facebook
    • Twitter
    • Reddit
    • LinkedIn

Bill Windham

Bill Windham14 years in ITA+, Network+

6

Contributions

1

Helpful Posts

Main Areas of Contribution:

  • Spiceworks General Support |
  • Firewalls |
  • General Windows |
  • Windows Server

Register. Track Progress. Earn Credits.

Learning has never been so easy!

Sign Up

Read these next...

Load More

I am using windows server 2008 os. I downloaded composer setup.exe and installed it on my PC but whenever I try composer install . I getting an error:

'composer' is not recognized as an internal or external command,

eg:-

c:\xampp\htdocs\shop>composer install ‘composer' is not recognized as an internal or external command, operable program or batch file.

My environment variable PATH is shown below:

C:\xampp\php\;C:\Users\Administrator\AppData\Roaming\Composer\vendor\bin

Feb 17 in Others by
• 8,740 points
4,129 views

1 answer to this question.

For anyone coming here from Google who are facing the same issue. I installed Composer properly and the Environment variable was set but it just wouldn't work. In my case composer is installed in C:\ProgramData\ComposerSetup\bin and this is exactly what is in my PATH Environment variable. After messing around a bit trying to fix it I saw that under System variables under PATH there is something called PATHEXT I opened that and added ;.PHAR to the end of it. So it ended up like the screenshots mentioned below:



And this is what my PATH is now:
  

I closed all file explorer windows and command prompts and started a new CMD and ran composer --version and it did work so I hope this helps someone facing the same issue as me.

answered Feb 17 by Aditya
• 7,280 points

Related Questions In Others

  • All categories
  • Apache Kafka (84)
  • Apache Spark (596)
  • Azure (131)
  • Big Data Hadoop (1,907)
  • Blockchain (1,673)
  • C# (122)
  • C++ (228)
  • Career Counselling (1,060)
  • Cloud Computing (3,356)
  • Cyber Security & Ethical Hacking (145)
  • Data Analytics (1,266)
  • Database (525)
  • Data Science (73)
  • DevOps & Agile (3,500)
  • Digital Marketing (111)
  • Events & Trending Topics (28)
  • IoT (Internet of Things) (387)
  • Java (1,122)
  • Kotlin (3)
  • Linux Administration (384)
  • Machine Learning (337)
  • MicroStrategy (6)
  • PMP (423)
  • Power BI (516)
  • Python (3,137)
  • RPA (650)
  • SalesForce (92)
  • Selenium (1,569)
  • Software Testing (56)
  • Tableau (608)
  • Talend (73)
  • TypeSript (123)
  • Web Development (2,747)
  • Ask us Anything! (66)
  • Others (899)

Subscribe to our Newsletter, and get personalized recommendations.

Already have an account? Sign in.

How do you fix make is not recognized as an internal or external command operable program or batch file?

If you already have MinGW installed in Windows 7, just simply do the following: Make another copy of C:\MinGW\bin\mingw32-make.exe file in the same folder. Rename the file name from mingw32-make.exe to make.exe . Run make command again.

How do I fix not recognized as internal in CMD?

We have listed fixes for both versions of the error, so follow the relevant one to your case..
Verify if the Program Is Installed. ... .
Use the Full File Path to Execute the Command. ... .
Use the Full File Path Within Double Quotes. ... .
Add the File Path to the Windows Environment Variables. ... .
Move Files to System32 Folder..

zusammenhängende Posts

Toplist

Neuester Beitrag

Stichworte