The aim is to code a utility in C++ using the function:
BOOL WINAPI CreateDirectoryW(_In_ LPCTSTR lpPathName, _In_opt_LPSECURITY_ATTRIBUTES lpSecurityAttributes)
The only successful attempt found so far appears to be a in a Perl script, but getting that to work is another question. This script trials the prefix
my $path = '\\\\?\\'
but it has been observed elsewhere that using "\\?\UNC\" is more reliable. Any code blocks would be welcome.
Edit: Also, as the original question title indicated, the problem is moving the folder to another location (other than a relative path). Can this path be moved with MoveFileEx?