Pietro, I had something different in mind.
Copy the following into nppexec dialog and run it on a python script,
then you should see the full file path output, when running on txt file
only a statement is shown. No need for an addition batch file.
Oops! Looks like something went wrong!