las variables de entorno de XP

08/12/2005 - 10:40 por Antonio Amengual[MSMVP] | Informe spam
yendo a inicio, ejecutar CMD
podeis averiguar el valor de las siguientes variables de entorno:

a.. ALLUSERSPROFILE: Lists the location of the All Users Profile.
b.. APPDATA: Lists the location where applications store data by default.
c.. CD: Lists the current directory string.
d.. CLIENTNAME: List the client's NETBIOS name when connected to terminal server session.
e.. CMDCMDLINE: Lists the command line used to start the current cmd.exe.
f.. CMDEXTVERSION: Lists the version number of the current Command Processor Extensions.
g.. CommonProgramFiles: Lists the path to the Common Files folder.
h.. COMPUTERNAME: Lists the name of the computer.
i.. COMSPEC: Lists the path to the command shell executable.
j.. DATE: Lists the current date.
k.. ERRORLEVEL: Lists the error code of the most recently used command.
l.. HOMEDRIVE: Lists the drive letter is connected to the user's home directory.
m.. HOMEPATH: Lists the full path of the user's home directory.
n.. HOMESHARE: Lists the network path to the user's shared home directory.
o.. LOGONSEVER: Lists the name of the domain controller that validated the current logon session.
p.. NUMBER_OF_PROCESSORS: Lists the number of processors installed on the computer.
q.. OS: Lists the name of the operating system. (Windows XP and Windows 2000 list the operating system as Windows_NT.)
r.. Path: Lists the search path for executable files.
s.. PATHEXT: Lists the file extensions that the operating system considers to be executable.
t.. PROCESSOR_ARCHITECTURE: Lists the processor's chip architecture.
u.. PROCESSOR_IDENTFIER: Lists the description of the processor.
v.. PROCESSOR_LEVEL: Lists the model number of the computer's processor.
w.. PROCESSOR_REVISION: Lists the revision number of the processor.
x.. ProgramFiles: Lists the path to the Program Files folder.
y.. PROMPT: Lists the command-prompt settings for the current interpreter.
z.. RANDOM: Lists a random decimal number between 0 and 32767.
aa.. SESSIONNAME: Lists the connection and session names when connected to terminal server session.
ab.. SYSTEMDRIVE: Lists the drive containing the Windows root directory.
ac.. SYSTEMROOT: Lists the location of the Windows root directory.
ad.. TEMP and TMP: List default temporary directories for applications that are available to users who are currently logged on.
ae.. TIME: Lists the current time.
af.. USERDOMAIN: Lists the name of the domain that contains the user's account.
ag.. USERNAME: Lists the name of the user currently logged on.
ah.. USERPROFILE: Lists the location of the profile for the current user.
ai.. WINDIR: Lists the location of the OS directory.
Miss a t

Bienvenidos al sitio de MVP de Microsoft

http://mvp.support.microsoft.com/

Recuerda: Una Consulta, Un Foro:
news:microsoft.public.es.outlookexpress
news:microsoft.public.es.windowsxp
news:microsoft.public.es.windowsxp.aplicaciones
news:microsoft.public.es.windowsxp.hardware
news:microsoft.public.es.windowsxp.instalacion
news:microsoft.public.es.windowsxp.seguridad



Este mensaje se proporciona "como está" sin garantías de ninguna clase, y no otorga ningún derecho.

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.


XP Pro-2600-limpia+SP2

por favor
respuestas al grupo; asi nos beneficiamos todos
no se responde personalmente

saludos

Antonio
ms mvp windowsxp shell user
 

Leer las respuestas

#1 Alezito [MS MVP]
08/12/2005 - 11:10 | Informe spam
Gracias.

Alejandro Curquejo
Microsoft MVP
Windows XP Shell/User
Microsoft Newsgroups
Andalucia ES
MVP Program: http://mvp.support.microsoft.com/
DTS-L.org: http://dts-l.org/index.html
Perfil: http://tinyurl.com/7cfp3


"Antonio Amengual[MSMVP]" wrote in message
news:OGU54t9%
yendo a inicio, ejecutar CMD
podeis averiguar el valor de las siguientes variables de entorno:

a.. ALLUSERSPROFILE: Lists the location of the All Users Profile.
b.. APPDATA: Lists the location where applications store data by default.
c.. CD: Lists the current directory string.
d.. CLIENTNAME: List the client's NETBIOS name when connected to terminal server session.
e.. CMDCMDLINE: Lists the command line used to start the current cmd.exe.
f.. CMDEXTVERSION: Lists the version number of the current Command Processor Extensions.
g.. CommonProgramFiles: Lists the path to the Common Files folder.
h.. COMPUTERNAME: Lists the name of the computer.
i.. COMSPEC: Lists the path to the command shell executable.
j.. DATE: Lists the current date.
k.. ERRORLEVEL: Lists the error code of the most recently used command.
l.. HOMEDRIVE: Lists the drive letter is connected to the user's home directory.
m.. HOMEPATH: Lists the full path of the user's home directory.
n.. HOMESHARE: Lists the network path to the user's shared home directory.
o.. LOGONSEVER: Lists the name of the domain controller that validated the current logon
session.
p.. NUMBER_OF_PROCESSORS: Lists the number of processors installed on the computer.
q.. OS: Lists the name of the operating system. (Windows XP and Windows 2000 list the
operating system as Windows_NT.)
r.. Path: Lists the search path for executable files.
s.. PATHEXT: Lists the file extensions that the operating system considers to be
executable.
t.. PROCESSOR_ARCHITECTURE: Lists the processor's chip architecture.
u.. PROCESSOR_IDENTFIER: Lists the description of the processor.
v.. PROCESSOR_LEVEL: Lists the model number of the computer's processor.
w.. PROCESSOR_REVISION: Lists the revision number of the processor.
x.. ProgramFiles: Lists the path to the Program Files folder.
y.. PROMPT: Lists the command-prompt settings for the current interpreter.
z.. RANDOM: Lists a random decimal number between 0 and 32767.
aa.. SESSIONNAME: Lists the connection and session names when connected to terminal server
session.
ab.. SYSTEMDRIVE: Lists the drive containing the Windows root directory.
ac.. SYSTEMROOT: Lists the location of the Windows root directory.
ad.. TEMP and TMP: List default temporary directories for applications that are available
to users who are currently logged on.
ae.. TIME: Lists the current time.
af.. USERDOMAIN: Lists the name of the domain that contains the user's account.
ag.. USERNAME: Lists the name of the user currently logged on.
ah.. USERPROFILE: Lists the location of the profile for the current user.
ai.. WINDIR: Lists the location of the OS directory.
Miss a t

Bienvenidos al sitio de MVP de Microsoft
http://mvp.support.microsoft.com/

Recuerda: Una Consulta, Un Foro:
news:microsoft.public.es.outlookexpress
news:microsoft.public.es.windowsxp
news:microsoft.public.es.windowsxp.aplicaciones
news:microsoft.public.es.windowsxp.hardware
news:microsoft.public.es.windowsxp.instalacion
news:microsoft.public.es.windowsxp.seguridad



Este mensaje se proporciona "como está" sin garantías de ninguna clase, y no otorga ningún
derecho.

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.


XP Pro-2600-limpia+SP2

por favor
respuestas al grupo; asi nos beneficiamos todos
no se responde personalmente

saludos

Antonio
ms mvp windowsxp shell user

Preguntas similares