vbscript - MoveFile doesn't work if I have russian letters in file path -


movefile doesn't work if have russian letters in file path, way fix that? if path doesn't have russian letters works fine.

script gives me error - "path not found"

my vbscript:

set f = wscript.createobject("scripting.filesystemobject") if f.fileexists("c:\users\aaa\appdata\local\temp\tempfile.exe") _     f.movefile "c:\users\aaa\appdata\local\temp\tempfile.exe", _                "c:\users\aaa\desktop\СУППЕР ЗЛО\test.exe" 

you need save file in unicode format instead of utf-8


Comments