Advertisement

Major borland c++ program

Started by October 12, 2002 06:32 PM
2 comments, last by fivepointo 22 years, 1 month ago
i''m stuck with borland . everytimei try to use commandprompt to compile myprograms this is wot happens c:\mycode>bcc32 hello.cpp ''bcc32'' is not recognised as in internal or external command, operable programor batch program Some1 help, please?
Ass up high, make a mother fu**er cry help me stay aliv.the time is right i wanna feel it good 'n' tight i'm going to do this alone i'm gonna feel it upright.
LOL! It's not your day.

Anyway, you need to set the "path" environment variable. If a command can't be found in the current directory then the path is searched. This is just a list of directories separated with semi-colons. Each is checked in turn and, if at the end no exe is found, you get the "oi, no!" error message.

Drop to the MSDOS command box and type "path". This should give you a big list of things in the current path.

If you're using Windows 95, 98 or ME then you can load up the c:\autoexec.bat file in notepad. If it doesn't exist then create one. Find the line that says "set path=" + lots of stuff. Add a semi-colon and write the directory where the compiler is. Your final path thing might look like this:

set path=c:\windows;c:\windows\system;c:\your_borland_compiler\bin

NOTE: Keep any stuff in the path there! Other programs might want the same deal (e.g. Java compilers).

(I can't remember the directory, of course - just do a "find files" and find it, replacing it as appropriate.)

Once you've done that, reboot your machine and try again.

If you're using Windows NT, 2000 or XP then right-click on the "My Computer" icon, select "properties", and look for an Environment Variables button. There should be a "path" environment variable sitting somewhere - again, just add a semicolon at the end and add the compiler's directory.

[edited by - Alimonster on October 12, 2002 7:49:29 PM]
Advertisement
My GOD! It worked...it actually worked. I got to the bit where I type in bcc32 and it gives me the commands, and I think I can work the rest out. Major props , man, i really appreciate it. Thanks alot for your time, GREATLY appreciated.

[edited by - fivepointo on October 13, 2002 8:20:12 AM]
Ass up high, make a mother fu**er cry help me stay aliv.the time is right i wanna feel it good 'n' tight i'm going to do this alone i'm gonna feel it upright.
Give me a minute or two. I have to reboot back into Windows 2K first...

EDIT: Well done!

[edited by - Alimonster on October 13, 2002 8:24:27 AM]

This topic is closed to new replies.

Advertisement