VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Get Windows and TEMP Folders the easy way, without APIs

by Luis Cantero (14 Submissions)
Category: Windows System Services
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (3 Votes)

It returns the path of the windows or temp folders.

Code Returns
The path of the requested folder.

Rate Get Windows and TEMP Folders the easy way, without APIs

strWindir = Environ("WinDir") ' ->C:\Windows
strTempDir = Environ("temp") ' ->C:\Windows\Temp
strTempDir = Environ("tmp") ' ->C:\Windows\Temp

Download this snippet    Add to My Saved Code

Get Windows and TEMP Folders the easy way, without APIs Comments

No comments have been posted about Get Windows and TEMP Folders the easy way, without APIs. Why not be the first to post a comment about Get Windows and TEMP Folders the easy way, without APIs.

Post your comment

Subject:
Message:
0/1000 characters