Date: Tue, 11 Apr 2000 13:55:37 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Juan Manuel Guerrero cc: djgpp-workers AT delorie DOT com Subject: Re: suggestion for config.bat (texinfo-4.0) In-Reply-To: <9D8CF256E0@HRZ1.hrz.tu-darmstadt.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Thanks for your suggestions. On Tue, 11 Apr 2000, Juan Manuel Guerrero wrote: > first: > This two lines are from config.bat from texinfo-4.0: > > set HOSTNAME=%HOSTNAME%, %OS% > if not "%HOSTNAME%" == "%HOSTNAME%, %OS%" goto SmallEnv > > Suppose that HOSTNAME has been set to FOO and OS has been set to MS-DOS. > In line #1 HOSTNAME will be set to "FOO, MS-DOS". > The test in line #2 will ALWAYS fail because: Thanks for pointing this out. > This concern only people using 4DOS v6.X with MSDOS v 6.X and probably > other SFN environments. 4DOS does NOT truncute long file names to short > file names when it runs its internal commands like ren, copy, del, etc. [snip] > ! if not exist install-?? if exist install-??.sh ren install-??.sh install-sh Does this work on Windows 9X? In general, this is too dangerous: what if some day there will be another install-?? file? If there's no other way of fixing this problem, I'd rather add some magic to the batch file to invoke COMMAND.COM explicitly.