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?
As far as I know, environment variables in Windows NT are configured via Control Panel. - Mike
Thanks for fast reply. But the Problem is not to set the variables. The Problem is: When I enter the Variables in the dialog in µvision2, they are not interpreted correct. So I search for the right Syntax to enter them in the "Options for Target->C51->Include Path"-Dialog.
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?