Yeah. the typo was my mistake. I can’t copy and paste it here because it’s on a separate machine that doesn’t have internet access. Basically, from what I’m seeing, the file is empty, but the code is not executing. But let me be more clear the file is “technically” empty. It has no characters and has two lines that are both empty. No space no tab no nothing. just two lines with a length of zero.
I guess I should explain the environment this code sits in. 2 scripts: one to generate random passwords and write them to a text file. Another to read the text file and remove the passwords from the file after they are used. once it runs out(i.e. the text file is empty) it should remove it and another file with more passwords is already available. All the code needs to do is rename it to “CurrentPass.txt” so the code can use it.
but for some reason it’s not. Luckily the typo doesn’t exist in the code I have