Chinese/Unicode support in windows batch files or workaround
Date: 10/23/08
(IT Professionals) Keywords: no keywords
In my network logon script, I need to copy certain files to the users desktop.
however, some machines are chinese windows, so they don't seem to support chinese
.bat files saved as unicode doesn't even work
eg:
english version
copy /y "\\mypdc\netlogon\backupdoc.bat" "%userprofile%\Desktop"
and the chinese version
copy /y "\\mypdc\netlogon\backupdoc.bat" "%userprofile%\桌面"
the chinese version will never work in a batch file.
any idea how to get around this.
Source: http://community.livejournal.com/itprofessionals/80922.html