>are there any code that just pick up variable name?
>at this point, I only have 1 program.
Which variable are you trying to get the name of?
If its a system variable, check the help file.
If its a dos environment variable, use the getenv() function.
If you only have one program, either post the relevant section of code for us to help you debug, or explain exactly what you are trying to accomplish, and we'll try to share the best way for your situation :-)
--Todd Sherman
-Wake Up! Smell the Coffee!