Dec 15, 2003 #1 astech Programmer Jul 25, 2000 59 ID How can I know what the OS of my PC in VFP 8(XP,Win2000,Win2000 Server,Win 98) ?. Thanks.
Dec 15, 2003 #2 baltman Technical User Mar 5, 2002 1,578 US Try this: ?GETENV("OS" Brian Upvote 0 Downvote
Dec 16, 2003 #3 Mike Gagnon Programmer Apr 6, 2002 8,067 CA astech Baltman suggestion is a valid one, athough this: ? OS() Might give you another option, although on XP I get different results. ? OS() && Windows 5.1 ? GETENV("OS" && Windows_NT Mike Gagnon If you want to get the best response to a question, please check out FAQ184-2483 first. Upvote 0 Downvote
astech Baltman suggestion is a valid one, athough this: ? OS() Might give you another option, although on XP I get different results. ? OS() && Windows 5.1 ? GETENV("OS" && Windows_NT Mike Gagnon If you want to get the best response to a question, please check out FAQ184-2483 first.
Dec 16, 2003 #4 rgbean Programmer Nov 9, 2000 5,707 US To supplement OS() alone, check out the code at http://fox.wikis.com/wc.dll?Wiki~VFPFunctionOS~VFP. (I adapted code from Rick Strahl, it was posted by Cindy, and I recently updated it for Win 2003.) Rick Upvote 0 Downvote
To supplement OS() alone, check out the code at http://fox.wikis.com/wc.dll?Wiki~VFPFunctionOS~VFP. (I adapted code from Rick Strahl, it was posted by Cindy, and I recently updated it for Win 2003.) Rick