X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Andreas Eibach" Newsgroups: comp.os.msdos.djgpp Subject: Re: 'The system cannot execute the specified program' (again) Date: Sat, 8 Nov 2008 14:10:33 +0100 Lines: 27 Message-ID: <6nlh22FmarohU1@mid.uni-berlin.de> References: <6nk3hhFm2at0U1 AT mid DOT uni-berlin DOT de> <4914E004 DOT 8090701 AT zytor DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de Bkqxw2IKPB8vbKOtuPYm2gK7IlXjt2nKhwg3xiEn+nDxzc560= X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1933 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1933 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "H. Peter Anvin" schrieb: > > I can only say I *DO* need very long lines in my batch file, because people > > with deep directory trees do not even need to have directories with a > > certain number of characters, but only the grade of tree depth will > > automatically make paths quite long. > > Standard DOS doesn't support this. If you're using 4DOS as the shell > there is an environment variable that the full command line is passed > in. I have no idea if NT does that when it emulates DOS programs, my > guess is no. Correct guess. As the djgpp-compiled application is recognized as 16bit, it will also _go under 16bit restrictions_, and that is (see also MS KB article) very limited line length for batch files. > > If djgpp does not support this, maybe I should look for mingw32, because > > that 16bit thing really annoys me. > > Yes, if you want Win32 programs, as opposed to DOS programs, use > MinGW32. That's what it's for. OK. -Andreas