If you are doing IO operations in .Net applications in Japanese Environment (Multibyte), you need to take care two byte spaces in the Directory name (I mean the last character of the directory name is two/multi byte space) otherwise you will end up in getting System.IO.DirectoryNotFound Exception in case if you do not included “\” at the end of the directory
string fileList = System.IO.Directory.GetFiles(<path to the directory>)
1. <path to the directory> => “c:\xxx\yyy ”
2. <path to the directory> => “c:\xxx\yyy \”
If you use 1 , you will end up in getting System.IO.DirectoryNotFound Exception
You cannot create directory with the last character as single byte space in windows explorer but the two/multi byte space is allowed.