Hi all,
ps.: Sorry for my poor english.
I'm start to programming...and i'm learn C! :-)
I need fo help!
Somebody know how to can i do in C to see and get a
valeu of one envinronment of O.S ?? :-)
I need that it work with NT/9x ! :-)
Example... in commando mode (DOS) suppose that i want
know the value of enverionment "tmp" then i do:
c:\>echo %tmp%
c:\>TEMP
c:\>
How to do it in C ??
Eg.: How to get the value of envinonment tmp and
attribute it to a variable of my program ??
Suppose that i had created:
char recive_env;
And i want get the value of tmp in the operation system and attribute to
"recive_env" in my program...to do comparations...
How to do it ??
Somebody can help me ??
Give me a example??
Thkz for all
Best Regards,
[ ]'s
|