Mail Archives: djgpp/1996/03/06/09:24:07
On Mon, 4 Mar 1996, Behzad SAFARI wrote:
> I have a some files which thier names contain more 8 caracteres in
> UNIX system. What i do to portabilite my files in MS_DOS without
> changing thier names ?
You should make sure the filenames are all unique in their first 8
characters of the basename (sans the extension), or that the first 3
characters of the extension are different. For example, these filenames
will be different on DOS:
file1-long.extension-long
file2-long.extension-long
file1-long.another-one
while these filenames cannot be distinguished under DOS and will make
trouble:
filename1-long.extension-long
filename2-long.extension-long
There is a package called DOSCHK on GNU ftp sites (get the file
doschk-1.1.tar.gz) which will help you verify that all your filenames
won't make trouble under DOS.
- Raw text -