CodeItBetter Programming Another VB Programming Blog

How to get all DOS Environment Variables

Posted on January 5, 2009
1
2
3
4
5
6
7
8
9
10
11
12
13
'System & API - How to get all DOS Environment Variables

Private Sub Main()
    Dim Env As String
    Dim x As Integer
    x = 1
    Env = Environ(x)
    Do Until Env = ""
        Env = Environ(x)
        Debug.Print Env
        x = x + 1
    Loop
End Sub
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


 

No trackbacks yet.