Radar
13 years agoOccasional Contributor
Convert Short Path Name to Long Path Name
Hello,
I note we have methods to convert from long to short path names, but not from short to long.
I need to convert from a short to a long path name.
I have a line of code:
tempPath = aqEnvironment.GetEnvironmentVariable("TEMP");
tempPath now equals:
"C:\DOCUME~1\psp\LOCALS~1\Temp"
Passing this variable into other functions causes unexpected results.
I need to convert this to long path name.
Are you able to assist?
Thanks in advance.
Mark
I note we have methods to convert from long to short path names, but not from short to long.
I need to convert from a short to a long path name.
I have a line of code:
tempPath = aqEnvironment.GetEnvironmentVariable("TEMP");
tempPath now equals:
"C:\DOCUME~1\psp\LOCALS~1\Temp"
Passing this variable into other functions causes unexpected results.
I need to convert this to long path name.
Are you able to assist?
Thanks in advance.
Mark