forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


@ENV()

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sat Aug 03, 2002 6:21 pm    Post subject: @ENV() Reply with quote

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
View user's profile Send private message Visit poster's website
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Sat Aug 03, 2002 6:25 pm    Post subject: Reply with quote

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 Smile

_________________
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
View user's profile Send private message Send e-mail
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Sat Aug 03, 2002 6:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sat Aug 03, 2002 6:40 pm    Post subject: Reply with quote

Thanks. Very Happy
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group