Article View: borland.public.cppbuilder.nativeapi
Article #1562Re: Converting to and from *extended file paths *
From: Bob Gonder
Date: Fri, 13 Jul 2007 15:09
Date: Fri, 13 Jul 2007 15:09
26 lines
1801 bytes
1801 bytes
Mike Collins wrote: >However, with respect to application execution, i get a path returned from >the control mechanism in the form of : > >\Device\Harddisk\Volume1\Windows\system32\notepad.exe Not ringing any bells here. What is the control mechanism using to create this path? Can you show a real example of what that path looks like for C:\Windows\System32\notepad.exe >- what i need to know it, how to i convert to and from the two types of >paths that i'm being provided with. Is it possible to convert the "c:\..." >path to a "\Device\.." style path? > >Hope this makes sense, The question makes sense, just the \Device\Harddisk\Volume1\ is a bit hazy. You can get a volume from GetVolumeInformation(), but I have no idea if that is what you want for that portion of the path. Probably you will end up somewhere in DeviceIoControl()
Technical Details
Message-ID:
<pn4f93pgj3ghntrb47c12he658laicl5ps@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4697853e@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,7324c995313c3b47 X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Converting to and from *extended file paths * Date: Fri, 13 Jul 2007 08:09:01 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <pn4f93pgj3ghntrb47c12he658laicl5ps@4ax.com> References: <4697853e@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 67.77.144.229 X-Trace: newsgroups.borland.com 1184339338 67.77.144.229 (13 Jul 2007 08:08:58 -0700) Lines: 29 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail