Date:  04/26/2015 05:19:37 AM Msg ID:  004800
From:  Carlos Fuertes Thread:  004800
Subject:  Function GETENV returns different values
Is there a reason why I get different values when I use the function GETENV() in VFP9 than in a Foxweb script?
For instance, when I write at the VFP command window ?GETENV("USERNAME") I get the Value "Carlos" (The name of the User logged in Windows), but when I apply the function to a variable like this in a Foxweb Script: nombreusuario = GETENV("USERNAME") y get "CARLOS-VAIO2$" (this is the domain name + $)
I don't know if it shows only part of the information. 
Thanks in advance