A little experimentation and you would have discovered that you can have PBP in any directory or drive that you wish totally independant of your program files...
Let's set up one example world...
The PICBasic files are installed in C:\PIC\PBP246
MPLAB (if you use it) is installed in C:\Program Files\Microchip\MPASM Suite
Our Data files are located in C:\Files
Our PATH is set to C:\PIC\PBP246;C:\Program Files\Microchip\MPASM Suite
From a DOS Command Window, Log into your FILES directory (C:\FILES) and from there simply execute your compiler command line (typical example containing whatever options you want)...
PBP -p16F628 MyProgram -v
or...
PBP -p16F628 MyProgram -v -ampasm
...all your datafiles, ie...
MyProgram.bas
MyProgram.hex
Myprogram.asm
MyProgram.mac
MyProgram.cod
MyProgram.err
MyProgram.lst
(the files your get are dependant on which assembler you use) will all be located in our FILES directory, remote and away from the PBP or MPLAB/MPASM installations.
The above is just one example of how you can distribute your datafiles away from your compiler and assembler files. Naturally you can substitute C: for any drive of your choice as long as the directory for the DATAFILES is on a drive capable of READ/WRITE.
Bookmarks