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 |
Related posts:
- How to Pass String To Dos Environment
- How to Get current user Name (in three ways)
- Visual Basic 2008 – Lesson 1 (Variables)
- How to Remove two or more hyphens from a string
- What exactly does ByVal and ByRef mean and when do you use it?
- How to get Volume label, Serial Number and File system of a given drive name
- How to list all the objects in a Database using DAO.
- How to Enumerate the user accounts on your system / network
- How to get all local drives
- How to list down all necessary Drive information