windows filepro and username variable
Scott Nelson
scott at logicdatasystems.com
Sun May 18 14:13:31 PDT 2008
From the desktop, running fp 5.0.7 and logged in as a user. Have the
command 'a=getenv("%USERNAME%") and show"@"<A in auto processing. It
show blank, with or w/o the %.
Scott
Fairlight wrote:
> Is it just me, or did Scott Nelson say:
>
>> I am running fp on xp pro, and trying to get the getenv to get the
>> %USERNAME%. It returns blank. I have tried variations on the username
>> with and w/o % etc. Any one got this working?
>>
>
> Are you doing it from inside a service like IIS, or are you doing it
> actually logged in and on the desktop?
>
> It should be getenv("USERNAME") and work fine--at least while logged into
> the desktop.
>
> mark->
>
More information about the Filepro-list
mailing list