^ To će biti najjednostavnije rešenje, a što se tiče ANSI/UNICODE, maksimalne dužine putanje (naziva fajla), dozvoljenih znakova... tu postoje i dodatni problemi, kao npr. slučajevi kada sam Windows ne podržava sve što podržava primenjeni fajl sistem(?!?)
[quote]
...
When accessing files using the single-byte character functions (fopen, _open, _stat, _utime, CreateFileA, etc.), you should bear in mind that these functions all modify the name using the current codepage (what the user has set in their regional setting "language for non-unicode programs"). While this doesn't cause any problems when using an English codepage (you can use chars 128-255 in filenames), if the user is using Chinese codepage then Windows will assume that filenames passed to the ANSI functions are in gb2312 format, so therefore you cannot simply pass in any characters you want in the filename and expect it to work.
...
Do not end a file or directory name with a space or a period. Although the underlying file system may support such names, the Windows shell and user interface does not. However, it is acceptable to specify a period as the first character of a name. For example, ".temp".
However ".temp" as a folder name doesn't seem to work (at least) in Windows 7?
An other issue: In http://support.microsoft.com/default.aspx?scid=kb;en-us;905231 it says that "You cannot use the period character consecutively in the middle of a folder name.", but directory names like "start..end" seems to work, at least in Windows 7?
[quote]