John Weller wrote on 2013-01-09: > What VFP command should I use to get the value of %SystemDrive%? > > John Weller
John, GETENV("SYSTEMDRIVE") Anything you see from typing "SET" in the Windows CMD prompt, you should be able to get with GETENV(). Tracy Pearson PowerChurch Software _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/000a01cdee95$e994bff0$bcbe3fd0$@powerchurch.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.