How to compile a C++ program in Windows 7?

I'm using Borland C++ 5.5, I code my programs using Edit, I compile and run my programs using console.
Before, I was using Windows XP and I had no problem using Edit to code, compiling and running my programs
using console.
Also my programs were in D:\My Documents\Borland\Programs and it all worked well
for me even if my programs were not in C:\Borland\BCC55\Bin. Now I'm using
Windows 7 and now I really have problem, I tried to compile my programs using console pointing to the path of my
programs D:\My Documents\Borland\Programs just like when I'm still using XP
but when I compile my program I got this error 'bcc32' is not recognized as an internal or
external command,
operable program or batch file.

Can you please help me?
Thanks!
Last edited on
Do you have the correct permissions on C:\Borland\BCC55\Bin?
kbw yes I already set the path to C:\Borland\BCC55\Bin the same procedure when I'm still using XP.
Procedure:
1.From the desktop, right-click My Computer and click Properties.
2.In the System Properties window, click on the Advanced tab.
3.In the Advanced section, click the Environment Variables button.
4.Finally, in the Environment Variables window highlight the Path variable in the Systems Variable section and click the Edit button. And I add this path ;C:\Borland\BCC55\Bin.

But still got this error on Windows 7.
Did you remember to restart your command shell? I'm just clutching at straws here, I've not used W7.
Topic archived. No new replies allowed.