|
Prev: Brand Watches Seiko Diver Steel Blue/Red Automatic Mens Watch SKX175 Discount, Swiss, Fake
Next: Logging on a user
From: Nuno on 6 May 2008 18:35 On 6 Maio, 18:22, paul <p...(a)lisp.com> wrote: > Nuno wrote: > > Hello, > > > I'm trying to obtain the last write time on a usb drive (example e:\) > > with a FAT file system, i'm using the GetFileTime(...) function, > > example: > > > FILETIME ftCreate, ftAccess, ftWrite; > > > //reset the default return value: > > ftWrite.dwHighDateTime=0; > > ftWrite.dwLowDateTime=0; > > > HANDLE hFile = CreateFile(_T("e:\\"), > > and which directory in e: ?! the root dir is what is need, like c:\ or d:\ i need the info for the e:\ that is the root dir of my usb drive
From: paul on 6 May 2008 20:15 Nuno wrote: > On 6 Maio, 18:22, paul <p...(a)lisp.com> wrote: >> Nuno wrote: >>> Hello, >>> I'm trying to obtain the last write time on a usb drive (example e:\) >>> with a FAT file system, i'm using the GetFileTime(...) function, >>> example: >>> FILETIME ftCreate, ftAccess, ftWrite; >>> //reset the default return value: >>> ftWrite.dwHighDateTime=0; >>> ftWrite.dwLowDateTime=0; >>> HANDLE hFile = CreateFile(_T("e:\\"), >> and which directory in e: ?! > > the root dir is what is need, like c:\ or d:\ i need the info for the > e:\ that is the root dir of my usb drive The root dir has no write time, of course !
From: paul on 6 May 2008 13:22
Nuno wrote: > Hello, > > I'm trying to obtain the last write time on a usb drive (example e:\) > with a FAT file system, i'm using the GetFileTime(...) function, > example: > > FILETIME ftCreate, ftAccess, ftWrite; > > //reset the default return value: > ftWrite.dwHighDateTime=0; > ftWrite.dwLowDateTime=0; > > HANDLE hFile = CreateFile(_T("e:\\"), and which directory in e: ?! |