Am 18.07.2021 um 21:56 schrieb Allin Cottrell:
On Sun, 18 Jul 2021, Sven Schreiber wrote:
>
> OK, so the first puzzle is solved. Turns out that in the new user
> account the default Windows settings about hiding file name extensions
> were active again (I usually switch them off), so the created file
> wasn't actually "out.txt" as it appeared, but "out.txt.txt"
instead.
Aha.
Alright, I cannot reproduce my original problem anymore, even on the
machine with the space in the user name where it occurred originally.
Now I'm using getenv("USERPROFILE") as an ingredient to construct the
absolute path to the file(s). Either that is helping somehow, or the
original issue was a false alarm triggered by something else altogether.
Thanks for all the effort
Sven