Compile Error: 'fbc' is not recognized as an internal or external command
From OHRRPGCE-Wiki
SO you have already installed freebasic and when you try to compile you get a bunch of error messages that look something like this:
'fbc' is not recognized as an internal or external command
This happens because for some reason FreeBasic has failed to add itself to your computer's PATH. Here is how to fix it.
- Go to the Start Menu
- Right-Click on My Computer
- Pick Properties
- Wait for the System Properties control panel to open
- Go to the Advanced tab
- Click on the button labeled Environment Variables
- In the list of System variables, locate Path
- Double-click on Path
- At the end of Variable value add ;C:\Program Files\FreeBASIC\
- Be careful! You do not want to replace the value, you want to add on to the end of it!
- the ; symbol is important. It is a separator
- Click OK until you get back to the desktop
- Try to compile again