Question about my compiler

Glavinsolo

Platinum Member
Sep 2, 2004
2,946
0
0
I just got a new compiler and I am trying to be able to run it from the command prompt inside where my .c and .h files are. I think i have to set it as a environmental variable or something but I dont know how.

The executable is bcc32.exe and I want to be able to compile from any folder

example:

C:\windows\desktop\project1\> bcc32 main.c ops.c func.c

Thanks in advance
 

Glavinsolo

Platinum Member
Sep 2, 2004
2,946
0
0
lol, i need the exe file to be available to be ran from any folder without the executable being in that folder

 

Bulldog13

Golden Member
Jul 18, 2002
1,655
1
81
windows xp ?

start -> settings -> control panel -> system -> advanced -> enviroment variables
 

jalaram

Lifer
Aug 14, 2000
12,920
2
81
Add the directory where the bcc32.exe is located to the PATH env. var.

Edit: Sorry. Misread the question.