windows filepro and username variable

Kenneth Brody kenbrody at bestweb.net
Mon May 19 07:08:44 PDT 2008


Quoting Scott Nelson (Sun, 18 May 2008 11:24:01 -0700):

> 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?

This works just fine here.  (XP Home SP2, filePro 5.6.06 and 4.8.13)

==========
::end:
@entsel::show "USERNAME='" & getenv("USERNAME") & "'":
::end:
==========

-- 
Read the truth behind the movie "Expelled" at <http://www.ExpelledExposed.com>
--
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list