PSN-L Email List Message

Subject: Re: PSN file format and long file names.
From: Karl Cunningham karlc@..........
Date: Thu, 12 Jul 2001 11:19:35 -0700


--On Wednesday, July 11, 2001 8:53 PM -0700 Larry Cochrane 
 wrote:

> Karl,
>
> From: "Karl Cunningham" 
> To: 
> Sent: Monday, July 09, 2001 10:45 PM
> Subject: Re: PSN file format and long file names.
>
> I'm not sure how one would do this. I think the VC 16 bit compiler and
> runtime library I am using would not allow me to create or open a file
> that is not in the 8.3 format. I must admit I haven't tried it, but I'm
> pretty sure it wouldn't work.

This probably is getting carried away too far, but I remember reading 
somewhere about how windows stores long filenames in a previously unused 
part of the file header (my memory is hazy about this).  You could 
concievably store the file with an 8.3 name according to some naming 
algorithm, then your program could modify the file header using the same 
format windows does to store the long filename.  Of course, this probably 
varies between FAT16, FAT32, etc. filesystems.  Just a thought.

Karl

__________________________________________________________

Public Seismic Network Mailing List (PSN-L)


[ Top ] [ Back ] [ Home Page ]

Larry Cochrane <cochrane@..............>