| View previous topic :: View next topic |
| Author |
Message |
DW Contributor

Joined: 21 Mar 2003 Posts: 175 Location: UK
|
Posted: Wed Mar 24, 2004 8:56 am Post subject: Getting details from enviroment (VDS4) |
|
|
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 |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Wed Mar 24, 2004 9:06 am Post subject: |
|
|
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.
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 |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Wed Mar 24, 2004 11:22 am Post subject: |
|
|
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.
Edit: oops, I just saw you're running VDS 4... but I'll leave this here anyway.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
|