Re: 8.3 question
- From: "usfinecats" <usfinecats@xxxxxxxxxxxxx>
- Date: Fri, 09 Jun 2006 05:07:52 GMT
Maxim,
Your suggestion is just wrong. It does not work.
Does anyone know how to convert an 8.3 file & path to the long name?
I.E: C:\Progra~1\SomeLo~1\yada ya~1\fredan~1.xyz
into a long name:
C:\Program Files\SomeLongName\yada yada\fredAndEthelMertz.xyz
?
Thanks
"usfinecats" wrote:
Furthermore, ZwQueryInformationFile(...filenameinformation..) returns the.
short file name that the file was opened up with .
"usfinecats" wrote:
Is there documentation on this guy?
I find no reference in MSDN , IFS, or at the Microsoft Website to the
details of this API?
"Maxim S. Shatskih" wrote:
Iterative NtQueryInformationFile.
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@xxxxxxxxxxxxxxxx
http://www.storagecraft.com
"usfinecats" <usfinecats@xxxxxxxxxxxxx> wrote in message
news:A8F43C03-AFFB-4097-857B-4950630D895B@xxxxxxxxxxxxxxxx
After further digging I can refine this question:to
What is the kernel mode equivelent of GetLongPathName?
"usfinecats" wrote:
How do you compare a file opened with an 8.3 file name vs a regular name?
I'm watching for files in a particular directory to be opened,
say: C:\Program Files\Some other long name\yada yada\fred.doc
and I see something coming in like C:\Progra~1\Some~1\....\fred.doc
Clearly, comparing strings does not make sense. How does one convert 8.3
a normal name, since going the other way is not 100% deterministic?
Are there other mechanisms around?
--
Gak -
Finecats
- Prev by Date: Re: problem with installing avssamp to audio capture sources category
- Next by Date: Re: why spinlock raises IRQL to DISPATCH
- Previous by thread: Re: Need scsi address assigned by port driver in SPTI
- Next by thread: Re: why spinlock raises IRQL to DISPATCH
- Index(es):