hello,
I downloaded a command line app that does conversion, and it will only accept short filenames on the command line. This isn't a problem because after I use a open file dialog to get the source file, I pass that filename to GetShortPathName, and voila - I have a short filename source to feed to the conversion app. However, my problem happens when I try to use the same process to build a short destination filename as follows:
'create a long destination manually
longDest=progPath+"parse.txt"
'now make the call
GetShortPathName(longDest, shortDest, SIZEOF(shortDest))
Basically, the call tanks, and I don't get my short filename destination. What do you suppose was so right about the string passed from the open file dialog, and that which I created manually?
-CMR
I downloaded a command line app that does conversion, and it will only accept short filenames on the command line. This isn't a problem because after I use a open file dialog to get the source file, I pass that filename to GetShortPathName, and voila - I have a short filename source to feed to the conversion app. However, my problem happens when I try to use the same process to build a short destination filename as follows:
'create a long destination manually
longDest=progPath+"parse.txt"
'now make the call
GetShortPathName(longDest, shortDest, SIZEOF(shortDest))
Basically, the call tanks, and I don't get my short filename destination. What do you suppose was so right about the string passed from the open file dialog, and that which I created manually?
-CMR
Comment