How I can to set media path to directory with my .exe?
Full path to .EXE contains unicode non-ASCII symbols,
Windows Shell runs my exe with current directory different from .EXE,
I can’t change current directory (SetCurrentDirectoryW)* ?
*thought SetCurrentDirectoryW using is possible, but this demands of some work – determine OS version (SetCurrentDirectory[b:1eulwuts]A[/b:1eulwuts]/SetCurrentDirectory[b:1eulwuts]W[/b:1eulwuts] support), some string parsing, a nasty trick with changing work directory for a moment and reverting it back. Is there more preferable way?
- Winnie asked 10 years ago
- You must login to post comments
Please login first to submit.