xcopy does not work from bat-file

E

EsaT

Hello,
I am using english XP Prof with SP2. Alas I live in
Finland I like to use finnish letters in directory names.
Following command does not work if used inside bat-file
'xcopy "J:\Taloyhtiö" "E:\Taloyhtiö" /c /f /s /k /r /h /y'
.. It only produces error message
"File not found Taloyhti÷"
If it written directly to cmd prompt it works ok.
In my opinion this is a bug.
regards
Esa
 
A

Alex Nichol

EsaT said:
I am using english XP Prof with SP2. Alas I live in
Finland I like to use finnish letters in directory names.
Following command does not work if used inside bat-file
'xcopy "J:\Taloyhtiö" "E:\Taloyhtiö" /c /f /s /k /r /h /y'
. It only produces error message
"File not found Taloyhti÷"
If it written directly to cmd prompt it works ok.

In a cmd prompt it is working through the Windows support; in a batch it
will be run under DOS emulation. This would appear to be set up with a
different Code Page than the one you need; add the necessary Mode CP
entries in the autoexec.nt file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top