You should be able to do something like this. Setup a tool.
Command line:
perl %HOME%\bin\dumpview.pl "%n"
Working directory:
%p
I'm not setup for this to work at the moment, but it used to work. %HOME% is an environment variable I had set with cygwin so you won't need that. Just the path.