I installed the "Batch Scripts Support" plugin.
I tried $PROJECT_DIR$, but I get an error saying that it doesn\'t exist.