Re: Obtaining a valid path to a special folder ("::{GUID}") ?



On 16 Feb 2007 05:28:49 -0800, tias@... wrote in
microsoft.public.win2000.file_system:

On Feb 13, 10:33 pm, "Pegasus \(MVP\)" <I...@xxxxxxx> wrote:
<t...@xxxxx> wrote in message
My MP3 players show up as ordinary flash disks (which is basically
what they are).

Not the Philips GoGear and my Nokia phone, they just get a new node
under "My Computer" without any driveletter assigned.

Run the command mountvol.exe from a Command Prompt to
see the devices you have and to assign a drive letter to them.

Good hint, but it doesn't work for me. For example, my USB connected
Nokia 6620 gets the following, "GUID" path (as I cen retreive using
the SHBrowseForFolder() API) :
::{20D04FE0-3AEA-1069-A2D8-08002B30309D}

So I tried this :
MountVol W: \\?\Volume{20D04FE0-3AEA-1069-A2D8-08002B30309D}

And I got "The parameter is incorrect" (one of the most annoying
Windows error mesages BTW ;)

Any other ideas ?

Do you have in fact a drive named W: ? If so, note that MOUNTVOL
requires the path to an existing empty directory on an NTFS volume as
the first parameter. Try:

MD W:\Nokia
MountVol W:\Nokia \\?\Volume{20D04FE0- ...

--
Michael Bednarek http://mbednarek.com/ "POST NO BILLS"
.


Loading