|
-
Aug 31st, 2003, 09:08 AM
#1
Thread Starter
Fanatic Member
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.
Last edited by TheVader; Aug 31st, 2003 at 10:22 AM.
Author for Visual Basic Web Magazine
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|