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

Discussion:

'bash' is not recognized as an internal or external command, operable program or batch file.

Right - UPDATE:

I've now entered the correct paths for the Compilers etc:

C Compiler set to D:\APPS\cygwin\bin\gcc.exe
C++ Compiler set to <Not installed (???)>
Make Command set to D:\APPS\cygwin\bin\make.exe
Debugger Command set to D:\APPS\cygwin\bin\gdb.exe

I've installed all packages within Cygwin.

PROBLEM - Still get 'bash' is not recognized as an internal or external
command.

Any suggestions please?

--
View this message in context: http://www.nabble.com/%27bash%27-is-not-recognized-as-an-internal-or-external-command%2C-operable-program-or-batch-file.-tp22585376p22585376.html
Sent from the Cygwin list mailing list archive at Nabble.com.

Post by SystemOverload
C Compiler set to D:\APPS\cygwin\bin\gcc.exe
C++ Compiler set to <Not installed (???)>
Make Command set to D:\APPS\cygwin\bin\make.exe
Debugger Command set to D:\APPS\cygwin\bin\gdb.exe
I've installed all packages within Cygwin.
PROBLEM - Still get 'bash' is not recognized as an internal or external
command.
Any suggestions please?

<http://cygwin.com/problems.html>
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.

Post by SystemOverload
Q: Are you sure?

A: Because it reverses the logical flow of conversation.

Q: Why is top posting annoying in email?

Not quite sure why you just posted the PROBLEMS link, but I checked it anyway
and can find nothing relevant... please HELP... When i run setup.exe it says
the size of BASH is "?", but whenever i select RE-INSTALL, it reinstalls
something, but it doesn't include bash, and the size remains "?" when
running setup.exe again.

Post by Larry Hall (Cygwin)

Post by SystemOverload
C Compiler set to D:\APPS\cygwin\bin\gcc.exe
C++ Compiler set to <Not installed (???)>
Make Command set to D:\APPS\cygwin\bin\make.exe
Debugger Command set to D:\APPS\cygwin\bin\gdb.exe
I've installed all packages within Cygwin.
PROBLEM - Still get 'bash' is not recognized as an internal or external
command.
Any suggestions please?

<http://cygwin.com/problems.html>
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746
_____________________________________________________________________
A: Yes.

Post by SystemOverload
Q: Are you sure?

A: Because it reverses the logical flow of conversation.

Q: Why is top posting annoying in email?

--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/

--
View this message in context: http://www.nabble.com/%27bash%27-is-not-recognized-as-an-internal-or-external-command%2C-operable-program-or-batch-file.-tp22585376p22586354.html
Sent from the Cygwin list mailing list archive at Nabble.com.

Post by SystemOverload

Post by Larry Hall (Cygwin)

Post by SystemOverload
C Compiler set to D:\APPS\cygwin\bin\gcc.exe
C++ Compiler set to <Not installed (???)>
Make Command set to D:\APPS\cygwin\bin\make.exe Debugger Command
set to D:\APPS\cygwin\bin\gdb.exe
I've installed all packages within Cygwin.
PROBLEM - Still get 'bash' is not recognized as an internal or
external command.
Any suggestions please?

<http://cygwin.com/problems.html>

Not quite sure why you just posted the PROBLEMS link, but I checked
it anyway and can find nothing relevant... please HELP... When i run
setup.exe it says the size of BASH is "?", but whenever i select
RE-INSTALL, it reinstalls something, but it doesn't include bash, and
the size remains "?" when running setup.exe again.

Read the "Reporting guidelines" section on the page. This explains how
to send a report with enough information that someone can help you.
Until then, don't expect much help.

Update to what? As far as I could google, you've never posted here before!

Post by SystemOverload
C Compiler set to D:\APPS\cygwin\bin\gcc.exe
C++ Compiler set to <Not installed (???)>
Make Command set to D:\APPS\cygwin\bin\make.exe
Debugger Command set to D:\APPS\cygwin\bin\gdb.exe
I've installed all packages within Cygwin.
PROBLEM - Still get 'bash' is not recognized as an internal or external
command.
Any suggestions please?

Tell us what's going on because we're not mind-readers?

Actually some of us are. *puts fingers to forehead, closes eyes, frowns
with concentration* I'm getting something.... an image... The moon passes in
front of the sun... there is great darkness...

You're having trouble using Cygwin tools with an Eclipse installation, maybe?

cheers,
DaveK

All

Apologies for the lack of information, it's easy to assume the prospective
readers know what your talking about. I have solved my problems, but I'll
outline them for you and future readers.

I'm running the NetBeans IDE 6.5.1 which I installed no problems.

I checked the NetBeans forums for Compiler info and was recommended Cygwin
which I downloaded.

Lacking in the information at the time as to which packages to install, I
installed them all.

Then, when trying to BUILD or DEBUG from NetBeans IDE i recieved the error
'bash' is not recognized as an internal or external command, operable
program or batch file.

I also recieved this message when typing Cygwin into the usr/Cygwin/ install
directory, i recieved the same message.

Running SETUP.EXE I noticed that the SIZE of BASH was listed as "?", ie: no
size.

After trawling thru a few different lists and forums, i UNINSTALLed the BASH
and RE-INSTALLED. I no longer recieved the "'bash' is not recognized as an
internal or external command..." error message, but a new error saying that
cygintl-8.dll could not be found...

I checked the /BIN/ directory and found cygintl-1.dll ONLY... Checked
online, found that there were dif versions of some of the DLLs that staretd
cygintl-1.dll and then evolved as cygintl-2.dll upto the current
cygintl-8.dll.

Tried to REINSTALL bash yet again, but still the same cygintl-8.dll missing
error. I searched my whole hard drive and found that on the first
(aborted) installation to a different path, it had installed the
cygintl-8.dll which I then copied into the current install BIN directory.

I repeated this for about 5 or 6 other .dll files.

This resolved my problems and NetBeans IDE and Cygwin appear to be able to
BUILD, DEBUG etc with no problems.

Thanks

SO

--
View this message in context: http://www.nabble.com/%27bash%27-is-not-recognized-as-an-internal-or-external-command%2C-operable-program-or-batch-file.-tp22585376p22599567.html
Sent from the Cygwin list mailing list archive at Nabble.com.

Post by SystemOverload
Apologies for the lack of information, it's easy to assume the prospective
readers know what your talking about. I have solved my problems, but I'll
outline them for you and future readers.

You still didn't follow the directions about sending 'cygcheck -svr'
output as a text file attachment. I wonder if you still have PATH issues,
or even duplicate installation problems.

- --
Don't work too hard, make some time for fun as well!

Eric Blake ***@byu.net

Post by Dave Korn

Post by SystemOverload
PROBLEM - Still get 'bash' is not recognized as an internal or external
command.
Any suggestions please?

Tell us what's going on because we're not mind-readers?
Actually some of us are. *puts fingers to forehead, closes eyes, frowns
with concentration* I'm getting something.... an image... The moon passes in
front of the sun... there is great darkness...
You're having trouble using Cygwin tools with an Eclipse installation, maybe?

If you're trying to run bash from the DOS-box, do you have the cygwin\bin path
in you PATH environment variable? What else is there?

bye Fabi

Loading...

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

Solution: Update Environment Variable for Git Make sure you have installed the Git SVN executable on your system. Now restart your CDM install to reflect the changes and run your bash commands successfully.

How do you fix CMD is not recognized as an internal or external command?

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

How do I enable bash on Windows?

Go to Settings > Update & security > Activation, and select Developer Mode, then click Yes..
Press Windows key + R then type: optionalfeatures.exe then hit Enter on your keyboard. ... .
Installing Bash Tools. ... .
Start Bash in Windows 10..

How do I install bash on Windows?

Method 1: Install Linux Bash Shell on Windows 10 Newer Versions.
Step 1: Enable “Windows Subsystem for Linux” feature. ... .
Step 2: Download a Linux system from the Windows store. ... .
Step 3: Run Linux inside Windows 10. ... .
Step 1: Enable/Update WSL 2. ... .
Step 2: Download and Install a Windows X Server Program..