Yeah, isn't that annoying?
I lost several files before realizing what was going on.

When PBP does a compile, it first deletes all the files generated on the last compile.
But, instead of being Smart about it and verifiying the filenames it needs to delete, it just deletes everything with the same Name.

But here's the problem ... it uses the old DOS style names when it does it. So everything with the same 8 characters in the beginning of the filename also get deleted.

Let's say you have the following files ...

TestProg.PBP
TestProg.ASM
TestProg.LST
TestProg.XRF
TestProg.HEX
TestProg.XLS
TestProg.BRD

When you compile TestProg.PBP, you will lose the Excel and PC board files (.XLS and .BRD) because they have the same Name.

You would also lose these files, if they were there.

TestProg_Try2.HEX
TestProgram.ASM
TestProgram3.INC

or any other file with the same first 8 characters, that isn't a .BAS or .PBP.

So, you're right. It's best to have each program in it's own folder.
And, be sure to name anything else in that folder something different than the main program.


HTH,