iam_dumb
asked on
Open weird filenames
Hello,
I'm trying to open file, that FindNext routine returned. The filename is 'T_-جÍ7-11¬ÝTW¦ñ.txt' and when I try TFileStream.Create, it throws an exception "Can't find file specified". However, the file is phisically exists and I can access it through Windows Explorer.
Thanks
I'm trying to open file, that FindNext routine returned. The filename is 'T_-جÍ7-11¬ÝTW¦ñ.txt' and when I try TFileStream.Create, it throws an exception "Can't find file specified". However, the file is phisically exists and I can access it through Windows Explorer.
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Did you try to change the filename from explorer to see if it gives you an error? The explorer sees the file but I am not sure that it can manipulate it.
The file was probabely made using some localised windows in China, Russia or something like that.