Look at GETENV()
>Hi all:
>
>Is there a way to access a windows environment variable like USERNAME or HOMEPATH?
>
>I need to obtain such values from within VFP
>
>Thanks in advance for any hints.
>
>Regards
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer