How long filename prefix \\?\ works ?

Discuss new features and functions
Posts: 2
Joined: 14 Jan 2010

jmdess

Hello.
I am trying to mirror 2 servers shares from a Windows 2003 server to Windows
2008 one.
Some students have filenames longer than 255 characters.

I try the folders pair (FreeFileSync is on the destination folder) :
Left : \\?\\\svr11\commonprofs
Right : \\?\e:\commonprofs

where : svr11 is a server name

The destination \\?\e: seems accepted.
But I receive a "Directory does not exists" for the \\?\\\svr11 left folder
And same error if I map Z: to \\svr11\commonprofs and I put \\?\z: as left
folder in FreeFileSync.

How does one use \\?\ prefix ?
Thank you
jean-marie

Note : without \\?\, the mirror is done, but with errors for long filenames !
User avatar
Site Admin
Posts: 7210
Joined: 9 Dec 2007

Zenju

For serves the syntax is different:
\\?\UNC\svr11\commonprofs
(Reference: http://msdn.microsoft.com/en-us/library/aa365247%28VS.85%29.aspx%23maxpath)

Another reason, why an automatism about this syntax would be nice...

Regards, Zenju
Posts: 2
Joined: 14 Jan 2010

jmdess

Thank you very much for this ultra speedy answer !

jean-marie