Current directory and current drive. Is there such a thing?

General FreeBASIC programming questions.
caseih
Posts: 2157
Joined: Feb 26, 2007 5:32

Re: Current directory and current drive. Is there such a thing?

Post by caseih »

counting_pine wrote:That’s probably a mistake, I made some changes manually. I’ll check in a bit..
I was referring to @adeyblue's output from SetCurrentDirectory(). The output from FB's chdir() seems consistent.
Last edited by caseih on Jun 24, 2021 14:01, edited 1 time in total.
caseih
Posts: 2157
Joined: Feb 26, 2007 5:32

Re: Current directory and current drive. Is there such a thing?

Post by caseih »

jj2007 wrote:I had a suspicion that SetCurrentDirectory would create a registry entry, because Windows registers every single irrelevant "event" somewhere, but nope, it doesn't. Strange.
Not sure why you'd think that, since each process has its own current directory.
jj2007
Posts: 2326
Joined: Oct 23, 2016 15:28
Location: Roma, Italia
Contact:

Re: Current directory and current drive. Is there such a thing?

Post by jj2007 »

caseih wrote:
jj2007 wrote:I had a suspicion that SetCurrentDirectory would create a registry entry, because Windows registers every single irrelevant "event" somewhere, but nope, it doesn't. Strange.
Not sure why you'd think that, since each process has its own current directory.
Yep, that's a valid argument.
Post Reply