Re: Opening a file - File Open Dialog spoils future code

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu