App.Path & Temp Directory [RESOLVED]
Hi, I'm copying one of my apps to the Temporary directory, which I retrieve through Environ("TEMP"). The path is returned like this: C:\Docume~1\Userna~1\Temp. When I start the app from the Temp directory I want to check if it's in the right directory. Therefore I check if the App.Path is equal to the Temp path. The App.Path, however, is returned like this: C:\Documents and Settings\Username\Temp. So when I compare the two, they are not equal. Is there a way to retrieve the complete Temporary path or the DOS-path of the application (the GetTempPath API doesn't work either...)?
Thanks. :)