Interaction.Shell return file not found when the input file has a Japanese character
i using interaction.shell(command, appwinstyle.hide, true, -1) convert image pdf
here command command - c:\convert.exe c:\cの化.jpg c:\test.pdf
but getting file not found error when executing this. can please comment
hi,
i not have experience japanese characters. if understood correctly, unicode character inside ntfs filenames. http://msdn.microsoft.com/en-us/library/windows/desktop/dd317748(v=vs.85).aspx usefull you.
so kind of application convert.exe using? read far problem should convert.exe expects fat encodings.
not sure if helped @ all. unable find resources on possible name conversions. 1 thing goes through mind old 8.3 filenames. should compliant old fat rules. maybe thread @ http://social.msdn.microsoft.com/forums/en-us/netfxbcl/thread/c9f5db73-3ddd-4be3-974e-64ecf5f9c4a3/ helpfull call of getshortpathname.
with kind regards,
konrad
Visual Studio Languages , .NET Framework > Visual C#
Comments
Post a Comment