Here is the guts of a *.bat file I use.
Code:
cd
cd C:\MAC_PROGS\PPPBP\
PBPL -e -ampasmwin -p18F4550 test.bas
cd\
The above works if the "paths" are set in windows environment.
Maybe it will give you a clue. Your part about "time modified" has me a bit confused.