Re: Opening a file - File Open Dialog spoils future code
- Posted by Matt Lewis <matthewwalkerlewis at gm?il.c?m> Jan 16, 2008
- 533 views
CChris wrote: > > open() doesn't understand Windows folders, because Windows doesn't have a > notion > of a current directory. open() uses the PATH environment variable, which is > a DOS/Unix thing Windows supports for backward compatibility only) and looks > for MyFileName.CFG in places completely different from where Windows looks for > them, so it probably just can't see the file there. I thought that it did, and that %PATH is only used for executables and for dlls. What do current_dir() and chdir() do then? Matt