Encoding Robocopy无法处理包含scandic字符的路径
我正在尝试使用Robocopy将文件夹从Windows 2008 server复制到Windows 2012 server。 服务器语言设置为英语 我使用如下命令:Encoding Robocopy无法处理包含scandic字符的路径,encoding,character-encoding,windows-server-2008,windows-server-2012,robocopy,Encoding,Character Encoding,Windows Server 2008,Windows Server 2012,Robocopy,我正在尝试使用Robocopy将文件夹从Windows 2008 server复制到Windows 2012 server。 服务器语言设置为英语 我使用如下命令: robocopy "C:\Files\Folder with äö in name\Source" "D:\Folder with äö also" /MIR Source : C:\Files\Folder with õ÷ in name\Source\ Dest : D:\Folder with õ÷ also\ ... E
robocopy "C:\Files\Folder with äö in name\Source" "D:\Folder with äö also" /MIR
Source : C:\Files\Folder with õ÷ in name\Source\
Dest : D:\Folder with õ÷ also\
...
ERROR 3 (0x00000003) Accessing Source Directory C:\Files\Folder with õ÷ in name\Source\
The system cannot find the path specified.
命令失败如下:
robocopy "C:\Files\Folder with äö in name\Source" "D:\Folder with äö also" /MIR
Source : C:\Files\Folder with õ÷ in name\Source\
Dest : D:\Folder with õ÷ also\
...
ERROR 3 (0x00000003) Accessing Source Directory C:\Files\Folder with õ÷ in name\Source\
The system cannot find the path specified.
使用此命令的Bat文件是使用记事本创建的。我试着用记事本提供的所有编码创建它。它们都不起作用,上面的例子来自ANSI编码
如果我创建的测试文件夹不包含外来字符,Robocopy将不会出错
Robocopy如何处理Scandic字符?它在普通目录下工作吗
我发现,虽然öäetc没有正确地记录在日志文件中,但robocopy可以正确地处理它们。对于路径中没有这些外来字符的目录,它可以正常工作。