windows filepro and username variable

Fairlight fairlite at fairlite.com
Sun May 18 13:58:26 PDT 2008


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->
-- 
"Moral cowardice will surely be written as the cause on the death
certificate of what used to be Western Civilization." --James P. Hogan


More information about the Filepro-list mailing list