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

« permissions to a folder || FTP weirdness »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home