Doesn't FAT32 use that annoying ~1 for long filenames? For example: "A Text File With A Long Name.txt" == "ATEXTF~1.TXT"
Although you'd need to be careful to avoid collision with other files with similar names.
However, this would break compatibility with DOS and Windows 3.1 (if anyone still uses that!) and would only really be useful for DOS and Win3.1 app compatibility.
Hmmmm...
On Fri, 2003-12-12 at 13:48, Mark IJbema wrote:
On Wed, Dec 10, 2003 at 06:40:55AM -0800, Frank D. Engel, Jr. wrote: [ms patented storing long and short filenames at the same time]
Then calculate short names dynamically at runtime, rather than storing them?
But how to do this? It isn't as easy as it looks, since each long filename should give the same short filename all the time. It could be done by using some hash, but then unique names aren't guaranteed. Another alternative would be calculating the name based on the creation date of the file, but then files get the creation date they're created on the local fs, which isn't the case normally under windows.
Mark _______________________________________________ ros-general mailing list ros-general@reactos.com http://reactos.com/mailman/listinfo/ros-general