| View previous topic :: View next topic |
| Author |
Message |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Sat Aug 03, 2002 6:21 pm Post subject: @ENV() |
|
|
Does someone have a list of all of the commands you can have with @ENV()? I have had to discover multiple commands...but I don't have all of them... _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Sat Aug 03, 2002 6:25 pm Post subject: |
|
|
Go to a DOS box and type:
set
and press ENTER.
The @env() command should return any of the vars you see.
Example: INFO test @env(path)
However, just because your OS uses a certain var, doesn't
mean others do...
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Sat Aug 03, 2002 6:34 pm Post subject: |
|
|
Maybe it's usefull to make a list of the variables that are used by Windows:
I use Windows XP Professional...
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\Sjoerd\Application Data
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=VAN-DER-HOORN
ComSpec=C:\WINDOWS\system32\cmd.exe
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\Sjoerd
LOGONSERVER=\\VAN-DER-HOORN
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 5 Model 8 Stepping 12, AuthenticAMD
PROCESSOR_LEVEL=5
PROCESSOR_REVISION=080c
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\Sjoerd\LOCALS~1\Temp
TMP=C:\DOCUME~1\Sjoerd\LOCALS~1\Temp
USERDOMAIN=VAN-DER-HOORN
USERNAME=Sjoerd
USERPROFILE=C:\Documents and Settings\Sjoerd
windir=C:\WINDOWS
I think that PROMPT, TEMP and PATH are the only vars that are compitable with all Windows version... But who knows... |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Sat Aug 03, 2002 6:40 pm Post subject: |
|
|
Thanks.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
|