Home Dashboard Directory Help
Search

robocopy.exe fails when using chcp 65001 by Ajoschi Roth


Status: 

Active


2
0
Sign in
to vote
Type: Bug
ID: 770314
Opened: 11/7/2012 12:45:45 AM
Access Restriction: Public
0
Workaround(s)
view
1
User(s) can reproduce this bug

Description

I use "C:\Windows\system32\robocopy.exe" in a batch file to copy a file including Unicode characters in the file name.
Before calling robocopy.exe I set the code page to UTF8 (chcp 65001). -> The call of the robocopy.exe will not do the expected operation

Note: When I copy the robocopy.exe from its original destination ("C:\Windows\system32") to e.g. "C:\Temp" and use the copied robocopy.exe in my batch file all works fine!


Operating system is Windows 7 Ultimate 64bit (German)
Version of Robocopy.exe is 5.1.10.1027
Details
Sign in to post a comment.
Posted by Ajoschi Roth on 11/15/2012 at 5:30 AM
I wonder if there is any news on this issue?
Sign in to post a workaround.