I am trying to add a new action to the association/file types in windows and I am calling a bat file for that action,but %1 parameter which I am referring inside the bat file is giving only the DOS file name ( the one with tilde symbol) instead of long file name.Is there any work around to get the long file name??
As I mentioned,I am attaching this bat file as a action command for a particular file type so when I am right clicking on those type I get that action.So I don't really pass this file name directly rather windows explorer does this.
Actually what I am doing is invoking a URL with this file name as a parameter and the url is a CGI script which manipulates the file at the server.
my bat file has something like this
Everything works but I get the DOS name instead of long name...Any clues??