delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2008/11/07/19:56:20

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Fri, 7 Nov 2008 19:56:00 -0500
Message-Id: <200811080056.mA80u0bT016777@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <6nk3hhFm2at0U1@mid.uni-berlin.de> (aeibach@mail.com)
Subject: Re: 'The system cannot execute the specified program' (again)
References: <6nk3hhFm2at0U1 AT mid DOT uni-berlin DOT de>
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> I can only say I *DO* need very long lines in my batch file,

Two options:

1. Use bash scripts instead of batch files.  Since bash is a djgpp
   program, it can pass long command lines to other djgpp programs.

2. Store the command line arguments in a file, and use the @file
   syntax for the djgpp command:

     find . -type f -print > somefile.txt
     ls -l @somefile.txt

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019