Hi Guys,

I'm working on something that's PBP specific and it's going to be great (if I can find time to do it).

On my lunch hour I whipped up a little application that is able to extract the name and file path of the .BAS (or .PBP) file that is passed to the compiler by Microcode Studio.

Basically, I created and executable called "PBPW.exe".
I then renamed the "PBPW.exe" in the PBP folder to "PBPW_Real.exe".
Then, when you compile, "my" PBPW.exe is launched.
All my program does is grab the parameters (which includes the file name and file path of the source code) and then launches "PBPW_Real.exe" (which is the authentic PBPW.exe).

That's the hardest part. The rest is easy.
I think what I'll do with my program is get it to make a copy of the source code and slap on a date and time stamp.
It will then put it in a folder called "PROGRAMNAME_Backup" (PROGRAMNAME being the actual name of the source code).
It will create the folder if it doesn't already exist.

Alternatively, I could configure it to place all backups in a central location but grouped into their respective "PROGRAMNAME_Backup" folders (as mentioned above).

If anybody else has some ideas about this, let me know.

If think it would be really cool because you wouldn't even need to configure it.
It would just run each time the compiler was run and continually create backups at each compile.

Cheers!