%ENV, when not execute thru CGI, contains the current environnement :
USERNAME the user name used to log.
PROMPT the prompt (ex : $p$g).
PROCESSOR_IDENTIFIER a string with information on your CPU
(ex : x86 Family 5 Model 2 Stepping 12, GenuineIntel).
PROCESSOR_ARCHITECTURE indicate the family of your CPU (ex : x86).
OSa string with the name of the OS (ex : Windows_NT).
HOMEDRIVE letter of the home drive (ex : C:).
INCLUDE path of the include.
CPU kind of CPU (ex : i386).
SYSTEMROOT the place of windows (ex : c:\WINNT).
COMSPEC the place of command interpreter
(ex : c:\WINNT\system32\cmd32.exe)
PATH the path ...
PROCESSOR_REVISION is your pentium buggy ?
USERPROFILE path of the profile for the current user.
COMPUTERNAME name of the computer (ex : UC651)
HOMEPATH your place (ex : /users/bill)
USERDOMAIN name of the domain you logged in.
PROCESSOR_LEVE L level of CPU in its family.
OS2LIBPATH path for OS2 library.
SYSTEMDRIVE letter of the system drive.
Example
foreach $i (keys %ENV) {
print "$i : $ENV{$i} \n";
}
USERNAME the user name used to log.
PROMPT the prompt (ex : $p$g).
PROCESSOR_IDENTIFIER a string with information on your CPU
(ex : x86 Family 5 Model 2 Stepping 12, GenuineIntel).
PROCESSOR_ARCHITECTURE indicate the family of your CPU (ex : x86).
OSa string with the name of the OS (ex : Windows_NT).
HOMEDRIVE letter of the home drive (ex : C:).
INCLUDE path of the include.
CPU kind of CPU (ex : i386).
SYSTEMROOT the place of windows (ex : c:\WINNT).
COMSPEC the place of command interpreter
(ex : c:\WINNT\system32\cmd32.exe)
PATH the path ...
PROCESSOR_REVISION is your pentium buggy ?
USERPROFILE path of the profile for the current user.
COMPUTERNAME name of the computer (ex : UC651)
HOMEPATH your place (ex : /users/bill)
USERDOMAIN name of the domain you logged in.
PROCESSOR_LEVE L level of CPU in its family.
OS2LIBPATH path for OS2 library.
SYSTEMDRIVE letter of the system drive.
Example
foreach $i (keys %ENV) {
print "$i : $ENV{$i} \n";
}
No comments:
Post a Comment