delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/05/17:49:30

From: jkoziate AT njeb DOT att DOT com
Message-ID: <01BE512F.A361F010@njebexchsrv.njeb.att.com>
To: <djgpp AT delorie DOT com>
Subject: File name truncation (ls, cp..)
Date: Fri, 5 Feb 1999 17:47:44 -0500
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

Hi, I have tried the fil316b.zip file utilities and have found that they
truncate and use the 8 char prefix with 3 char extension. Can they work
with extended NT and W98 file names without truncation?  Can they work
like long UNIX file names?

Here is the DOS dir command on 2 java files:

dir *.java
 Directory of C:\joe\java

02/04/99  04:05p                 6,255 TestBase.java
02/04/99  04:05p                14,981 base.java
               2 File(s)        21,236 bytes
                            165,150,720 bytes free



Here is DJGPP's ls.exe (it does not find them)
ls *.java
c:/djgpp/bin/ls: *.java: No such file or directory (ENOENT)


IT WILL WORK LIKE THIS if I shorten the .java extension
ls *.jav
testba~1.jav
base~1.jav


- Raw text -


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