I am sorry, but my MPLAP 5.62.00 (I guess should be newer than yours :o) ) running under Win2k doesn't care about environment and project include path. In my case the path is as follows: c:\work\pic\inc i.e. it is simple 8.3 (DOS) path. After build I am getting: Error[105] C:\WORK\PIC\I2C_M\I2C_M.ASM 16 : Cannot open file (Include File "test.inc" not found) The following include statement works fine: INCLUDE <..\inc\test.inc> but this is not what the "Tigers likes the best". In the help for Options/Environment Setup we can find: "Default Include Path In the Include Path box, enter the path to the default directory of included project files (e.g., Header files). If the include path is not set for an individual project, Make Project will not be able to find the include files and will proceed to build the entire project. The build will be successful since the assembler/compiler will find the files via the MCC_INCLUDE variable in the AUTOEXEC.BAT file. However, this is an inefficient way to make a project." I even added environmental variable MCC_INCLUDE. This gave me a hint that this perhaps path is for C compiler rather than assembler. But the help states clearly "assembler/compiler". I am confused. Are we talking about the same thing? I am using MPASM, not MCC. Perhaps this is Win2k problem... Let's blame Microsoft! It looks that I have to give up... Thanks Ira http://teamur.netfirms.com > -----Original Message----- > From: pic microcontroller discussion list > [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Brendan Moran > Sent: Wednesday, June 26, 2002 7:53 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: [PIC]: .inc files in MPLAB/MPASM > > > ----- Original Message ----- > From: "Irek Rybark" > > > > Brendan, > > > > What do you mean by saying "include path"? > > Is it "MPASM executable directory" or user defined directory? > > When I start a new project in MPLAB 5.40.00 I get a window which opens and > has boxes for: > Target Filename > Include Path > Library Path > Linker Script Path > Development Mode > and > Language Tool Suite > > If you open Environment Setup from the Options menu, you get similar boxes > under the Project tab. > > --Brendan > > -- > http://www.piclist.com hint: PICList Posts must start with ONE topic: > [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads