VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



How to get the Windows directory with only one line code.

by ]Anjo[ - irc.brasnet.org - #Debug (1 Submission)
Category: Windows API Call/Explanation
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Fri 14th April 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)

How to get the Windows directory with only one line code.

Rate How to get the Windows directory with only one line code.




Windows = Environ("Windir")
'Get the Windows directory from a MS-Dos Environment, stored in c:\msdos.sys


MsgBox Windows (Optional)

Download this snippet    Add to My Saved Code

How to get the Windows directory with only one line code. Comments

No comments have been posted about How to get the Windows directory with only one line code.. Why not be the first to post a comment about How to get the Windows directory with only one line code..

Post your comment

Subject:
Message:
0/1000 characters