Jump to content

Recommended Posts

Posted

I'm using Borlands C++ Compiler (5.5) and I want to add a "Compile" button the my context menu (windows xp).

The command to compile is "bcc32.exe file.cpp".

Thanks for the help.

  • 2 months later...

Posted

The below is to be saved as a .REG file (copy/paste into notepad and save as cpp.reg). And is made in such a way that you'll get the option to compile, only if you right-click on a .CPP extension file.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.cpp\shell]
@="open"

[HKEY_CLASSES_ROOT\.cpp\shell\compile]
@="Compile source"

[HKEY_CLASSES_ROOT\.cpp\shell\compile\command]
@="bcc32.exe \"%1\""
;--OR--
;@="\"C:\\Program Files\\FOLDER_NAME\\bcc32.exe\" \"%1\""

If you do use it, please post here about whether it worked properly (for your purpose) or not.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...