[DUG] determining file system

Trevor Jones trevorj at ihug.co.nz
Wed Jul 20 13:51:22 NZST 2005


Phil,
  There's some additional weirdness that can happen with timestamps even on
a windows filesystem.

"One of the file system features you may find yourself surprised by is
tunneling, wherein the creation timestamp and short/long names of a file are
taken from a file that existed in the directory previously. In other words,
if you delete some file "File with long name.txt" and then create a new file
with the same name, that new file will have the same short name and the same
creation time as the original file."

Here's a link to the article:

http://blogs.msdn.com/oldnewthing/archive/2005/07/15/439261.aspx

Sorry, I have no ideas about Netware.

-----Original Message-----
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz] On
Behalf Of Phil Middlemiss
Sent: Wednesday, 20 July 2005 11:08 a.m.
To: NZ Borland Developers Group - Delphi List
Subject: [DUG] determining file system

Part of our code depends on getting the file stamp of a particular file, 
however on systems that have that particular file served by something 
like Novell Netware, that timestamp can be something other than what was 
expected.

Is there a way to determine the file/operating/network system (whatever 
is the correct one to check) of a given location?

Cheers,
Phil.
_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi



More information about the Delphi mailing list