From: "David May" Organization: Albuquerque T-VI To: refling AT comet DOT lbl DOT gov (Dr. John Refling) Date: Thu, 19 Dec 1996 09:10:24 -0700 Subject: Re: compiling with long file names under win95 CC: djgpp AT delorie DOT com Message-ID: <404F1F78CA@tvi_mail.tvi.cc.nm.us> > I can't get djgpp to recognize a long filename in a dos box on win95, eg, > > gcc thisisalongfilename.c > > complains: > > gcc.exe: thisisalongfilename.c: no such file or directory (ENOENT) > gcc.exe: No input files > > Am I missing something simple here? Thanks. To have DJGPP recognize long file names, you can, 1. Type set LFN=Y at the command prompt, 2. Place this in your autoexec.bat file so it is set all the time, or 3. in your DJGPP.ENV file, change +LFN=N to +LFN=Y. Depending on what you are doing, you may have to follow the instructions for changing a setting in the registry outlined in Section 8.2 of the FAQ. Regardless, you will want to get the FAQ and read it carefully. You can find it at the same place you found DJGPP. Hope this helps. David May, ID Card Administrator Albuquerque TVI