AnsweredAssumed Answered

vrf Selecting the VEE version

Question asked by VRFuser on Apr 5, 2004
Yes there is.

Bring up a command prompt window and type "set".  This will return all the
currently defined environment variables.

The ones you want are:
USERNAME - who's logged in
USERPROFILE - path to where the users profile is stored.

These values can be retrieved with the built-in function getEnv(envStr).
Ie: getEnv("USERNAME") ...

Hope this helps,


Michael N. Asbery                (202)404-3014, DSN 754
US Naval Research Laboratory      fax (202)404-7661
Code 5733.20          
4555 Overlook Ave SW
Washington DC 20375                                    

-----Original Message-----
From: Robert Kapp []
Sent: Tuesday, April 06, 2004 2:25 PM
Subject: [vrf] Information About Current User

Hi vrf,

My platform for VEE (Version 6.01) is Windows 2000 (with some different
users). Is there a possibility in VEE to get information about the current
user (like there is for getting the current operating system via whichOS() ?
I would need this information for automatically installing files into user
specified directories.

Thank you for your help.

Robert Kapp
Kropfersrichter Strasse 6 - 8
D - 92237 Sulzbach-Rosenberg
Fon:   +49 9661 908 494
GSM: +49 171 2313072
Fax:  +49 9661 908 491

You are currently subscribed to vrf as:
To subscribe send a blank email to "".
To unsubscribe send a blank email to "".
To send messages to this mailing list,  email "". 
If you need help with the mailing list send a message to "".