Hello cjb,
Hello cjb,
Are u sure that your non-english file has .exe extension?
Because there is nothing wrong with this code, it shows any kind of language
name files
c> Is there a way to get Directory.GetFiles to return multi-language
c> file names? I haven't found any overloads that allow any such
c> parameter. The way I am using it now is:
c>
c> foreach (string d in Directory.GetDirectories("C:\\")) {
c> foreach (string f in Directory.GetFiles(d, "*.exe")) {
c> MessageBox.Show(f);
c> }
c> }
c> This will get all files except for the ones that do not have English
c> file names. Any help would be much apprecaited. Thanks you.
c>
---
WBR,
Michael Nemtsev :: blog:
http://spaces.live.com/laflour
"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche