Inside a windows batch file I\'d like to figure out what the fully qualified path name of this batch file is.
I have tried %0 but this does only gave me
%0
%~f0
%~dpnx0
Either of the above gives the fully-qualified path. Enclose it in double quotes in case the path contains spaces.