lfn2sfn is a short cut of: "Long File Name to Short File Name converter". Very simple piece of code. It helps changing file names in e.g. PATH variable from Long to Short from. Program originally written to help on MSYS startup.
Try using Long path Tool, it works better.