Problem with umlauts in Windows jobs on english Windows operating systems

Document ID : KB000089681
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Problem with umlauts in Windows jobs on english Windows operating systems
Resolution:
Detailed Description and Symptoms

When a Automic windows job contains file names with umlauts the windows job fails with Windows error message: The system cannot find the file specified.?


Investigation

For Automic:
create Folder C:\Temp\test\
create Folder C:\Temp\test\test\
create File C:\Temp\test\ürübu.txt
 
In Automic create a Win Job containing the instruction:
copy C:\Temp\test\ürübu.txt C:\Temp\test\test\ürübu.txt
 
After starting this job you will get the error Message in activity window:
U0011003 Job 'JOBS.WIN.UMLAUTPROBLEM' (RunID '0001165015') on Host 'WIN01' aborted (return code='0000000001'). Remote Id=7540
 
 
For Windows:
create Folder C:\Temp\test\
create Folder C:\Temp\test\test\
create File C:\Temp\test\ürübu.txt
 
create a CMD File containing: copy C:\Temp\test\ürübu.txt C:\Temp\test\test\ürübu.txt
 
start cmd file
 
You will receive the error message:
 
C:\Temp\test>copy C:\Temp\test\³r³bu.txt C:\Temp\test\test\³r³bu.txt
The system cannot find the file specified.
?


Solution

Perform a change of codepage with instruction set: chcp 1252 before the copy instruction:
 
chcp 1252
copy C:\Temp\test\ürübu.txt C:\Temp\test\test\ürübu.txt
?