This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

C Include Files and NT-Enviroment-Variables

I tried to specifiy an additional Includepath in µ-Vision 2 under
Options for Target->C51->Include Paths.
This worked well with a hardcoded path.
Now I want to ste this path in a Winodws-NT-Enviroment-Variable using the Dos command "set INCPATH=D:\INC".
If I use %INCPATH% or $(INCPATH) it dosn't work.
Can someone help me?

Parents Reply Children
  • Yes, expansion of Environment strings would be a very useful feature - not only here, but in any file specification;

    No, I don't think Keil supports it anywhere. :-(

    Any particular reason why you want to pass this info via Environment strings rather than in the uVision Project file?