From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg) Newsgroups: comp.os.msdos.djgpp Subject: Re: c:/djgpp: Permission denied (EACCESS) Date: 3 Nov 1999 09:18:29 GMT Organization: Ericsson Erisoft AB, Sweden Lines: 44 Message-ID: <7voul5$cuf$2@antares.lu.erisoft.se> References: <3818732B DOT 42684492 AT arcticmail DOT com> <7va6u0$ngn$1 AT wanadoo DOT fr> <381F1C28 DOT 617725D9 AT arcticmail DOT com> NNTP-Posting-Host: propus-144.lu.erisoft.se X-Newsreader: TIN [version 1.2 PL2] To: djgpp AT Delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com N J Chackowsky (nick AT arcticmail DOT com) wrote: : This is a multi-part message in MIME format. : --------------8627F873C1E46E8D33E1EFC7 : Content-Type: text/plain; charset=us-ascii : Content-Transfer-Encoding: 7bit : Here's one possibility: : I found that on at least one installation, the tmpdir variable had been : incorrectly set thus: : set tmpdir=c:\djgpp It'd be better if it was set to subdirectory instead of the main DJGPP directory. It'd be easier to clean up if necessary. : (Which LOOKS right, but there's an embedded space (char(32)) after : djgpp. The environment was then trying to store temporary files in : c:\djgpp \RHAAAAAA : ^ with an embedded blank here. : Correcting the autoexec.bat solved the problem on this station. : I'll check other stations that give me that error message for the same : problem. : BTW: : set djgpp=c:/djgpp/djgpp.env <-- forward slashes : set tmpdir=c:\djgpp <-- backward slashes : I'm a bit confused. Should I ALWAYS use forward slashes for djgpp : programs? 1. The variables should be in upper case. 2. The DJGPP variable can handle both variants. Perhaps other programs (non-DJGPP ones) use TMPDIR, so for safety I use "\" for that one. Oldfield, Turbular Bells III, MartinS