For file I/O, the "\\?\" prefix to a path string tells the Windows APIs to disable all string parsing and to send the string that follows it straight to the file system. For example, if the file system supports large paths and file names, you can exceed the MAX_PATH limits that are otherwise enforced by the Windows APIs.
Мы тут, конечно, не превышение ограничений длины пути имеем, а проблему с расположением файла-устройства. Что отключением анализа пути успешно решаем.
На всякий случай (проблема уже обсуждалась с копированием длиных путей) - раздел Limits:
http://msdn.microsoft.com/en-us/library ... 27(v=VS.85).aspx
- Code: Select all
nnbackup.exe copy -i C:\TEST -o \\?\nul -v -s -d
- Code: Select all
#( copy_to_con_with_deleting
NoActive
AsLoggedUser
\ LoadProfile
\ User: "XXXXXXXX" SecPassword: "xxxxxxxx" Domain: "********"
\ поможет авторизоваться с максимальными привилегиям при необходимости
Action:
StartIn: "C:\nnBackup"
ShowNormal NormalPriority
START-APP: C:\nnBackup\nnbackup.exe copy -i C:\TEST -o \\?\nul -v -s -d
BEEP: 500 500
)#