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 


Getting details from enviroment (VDS4)

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


Joined: 21 Mar 2003
Posts: 175
Location: UK

PostPosted: Wed Mar 24, 2004 8:56 am    Post subject: Getting details from enviroment (VDS4) Reply with quote

How can i find out the user that is running an app under xp/2k
also does anyone have a list of possible @env commands, for finding windows directorys, program files, etc???
Back to top
View user's profile Send private message
Mac
Professional Member
Professional Member


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

PostPosted: Wed Mar 24, 2004 9:06 am    Post subject: Reply with quote

You can use @windir() to find the Windows dir,
and @windir(S) to find the Windows\System dir.

Maybe someone else can help with the @env() function. Wink

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
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Wed Mar 24, 2004 9:10 am    Post subject: Reply with quote

You could obtain the common paths from the Registry. Check out this thread:

http://forum.vdsworld.com/viewtopic.php?t=100

Greetz
Dr. Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
Mac
Professional Member
Professional Member


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

PostPosted: Wed Mar 24, 2004 9:10 am    Post subject: Reply with quote

Oh yeah, ya can also use @sysinfo(WINVER) to get the
OS version. Wink

Here's a coupla links that explain the version numbers:

http://www.computerhope.com/whow.htm
http://www.phm.lu/Documentation/Windows/Versions.asp

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
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Wed Mar 24, 2004 11:22 am    Post subject: Reply with quote

If you're running VDS 5.x you can use @sysinfo(ISNT) for a simple
way to check if the user is using an NT-based operating system. Smile

Edit: oops, I just saw you're running VDS 4... but I'll leave this here anyway. Smile

_________________
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