Nonstandard symbolic link to a disk volume

Dear All,

I create a symbolic link like “??\Qwerty” which points to
“\Device\HarddiskVolume1”.
When I use this link in the Win32 API functions (like
“\.\Qwerty\blablabla”), it works ok.

Also the following examples of use of this symlink in the cmd are
successful:
echo blablabla > \.\Qwerty\SomeFileName.txt
\.\Qwerty\SomeFileName.txt

But I cannot either to open the volume by the symlink ("\.\Qwerty") in
file explorer or to do in the cmd
dir \.\Qwerty*

Is there an opportunity to open a target volume in file explorer using
the above symlink?

Thanks.


Best regards,
Vladimir Zinin
mailto:xxxxx@gmail.com

Try
dir \.\Qwerty\*

i.e. with double '' at the end. It works for
dir \.\CdRom1\*


Slava Imameyev, xxxxx@hotmail.com

“Vladimir Zinin” wrote in message news:xxxxx@ntfsd…
> Dear All,
>
> I create a symbolic link like “??\Qwerty” which points to
> “\Device\HarddiskVolume1”.
> When I use this link in the Win32 API functions (like
> “\.\Qwerty\blablabla”), it works ok.
>
> Also the following examples of use of this symlink in the cmd are
> successful:
> echo blablabla > \.\Qwerty\SomeFileName.txt
> \.\Qwerty\SomeFileName.txt
>
> But I cannot either to open the volume by the symlink ("\.\Qwerty") in
> file explorer or to do in the cmd
> dir \.\Qwerty*
>
> Is there an opportunity to open a target volume in file explorer using the
> above symlink?
>
> Thanks.
>
> –
> Best regards,
> Vladimir Zinin
> mailto:xxxxx@gmail.com
>

Thank you. It works for ‘dir’.
But the main question is still actual.


Best regards,
Vladimir Zinin
mailto:xxxxx@gmail.com

Slava Imameyev wrote:

Try
dir \.\Qwerty\*

i.e. with double '' at the end. It works for
dir \.\CdRom1\*