environment variables

G

Guest

Good day All,
Does anyone know where I can get the full list of environment variable (args
for environ()) - (Doug, the API is good, but I need the environ$ list.)
thank you
 
D

Douglas J. Steele

The Environ() function returns whatever environment variables are defined.
How they get defined depends on a number of things.

To see what environment variables are defined on your machine, right-click
on the My Computer icon, and select Properties. Go to the Advanced tab, and
click on the "Environment Variables" button near the bottom.
 
J

John Nurick

You can open a Windows command prompt (e.g. by using Start|Run and
typing
cmd.exe
). In the command window, type
SET
to get a list of the environment variables defined in that session
(which will probably but not certainly match those available to Access).
 
G

Guest

Thanks John

John Nurick said:
You can open a Windows command prompt (e.g. by using Start|Run and
typing
cmd.exe
). In the command window, type
SET
to get a list of the environment variables defined in that session
(which will probably but not certainly match those available to Access).
 
D

Douglas J. Steele

As I said before, how the environment variables get set depends on a number
of things.

It's possible that you're running a logon script that removes those
environment variables, since, as I've said before, they're not secure.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top