Had to solve it by recompiling the program. This isn't too hard.
Changed the lines of code, starting line number 1126 of processNote.c of the AddIn to this:
if (scandirectory)
sprintf(szCallBuffer,"IF 1==1 \"%.*s\" %.*s \"%.*s\\ \"", MAXPATH, virscanner, MAXPATH, virparm, MAXPATH, szDirectory);<br/>
else<br/>
sprintf(szCallBuffer,"IF 1==1 \"%.*s\" %.*s \"%.*s\"", MAXPATH, virscanner, MAXPATH, virparm, MAXPATH, szFileNamePath);