I wrote a program and created an installer for it using Nullsoft's NSIS installer. I also associated the .gus filetype with my program.
Whenever I install my program and then double click on a .gus file, my program is passed a DOS style file path like "C:\DOCUME~1\James\MYDOCU~1\TEST.GUS".
If I just drag a .gus file onto the executable, it gets a longer file path like "C:\Documents and Settings\James\My Documents\Test.gus".
Is there an easy way to interpret the DOS style file path so that my program can use it?
Whenever I install my program and then double click on a .gus file, my program is passed a DOS style file path like "C:\DOCUME~1\James\MYDOCU~1\TEST.GUS".
If I just drag a .gus file onto the executable, it gets a longer file path like "C:\Documents and Settings\James\My Documents\Test.gus".
Is there an easy way to interpret the DOS style file path so that my program can use it?