ketongin Posted November 6, 2011 Share Posted November 6, 2011 Which system variable holds the computer name? Thank you. Quote Link to comment Share on other sites More sharing options...
Tharwat Posted November 6, 2011 Share Posted November 6, 2011 (getenv "ComputerName") Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted November 6, 2011 Share Posted November 6, 2011 Here are a few other System-related Environmental Variables accessible from ACAD which may be useful. Note that all variable names are case-sensitive. (getenv "Path") ; [sTR] System Search paths (getenv "COMSPEC") ; [sTR] cmd.exe Path (getenv "UserName") ; [sTR] User logon name (getenv "Temp") ; [sTR] Temp path (getenv "TMP") ; [sTR] Temp path (getenv "ComputerName") ; [sTR] Computer name (getenv "Windir") ; [sTR] Windows path (getenv "OS") ; [sTR] Operating System (getenv "UserProfile") ; [sTR] Current user profile path (getenv "Pathext") ; [sTR] Executable extensions (getenv "SystemDrive") ; [sTR] System drive (getenv "SystemRoot") ; [sTR] System root path 1 Quote Link to comment Share on other sites More sharing options...
rkent Posted November 6, 2011 Share Posted November 6, 2011 Leemac, I thought for a moment your computer could do the weather, Temp and winddir Quote Link to comment Share on other sites More sharing options...
ketongin Posted November 6, 2011 Author Share Posted November 6, 2011 thank you Thawat and Lee. Much more than I asked for. If you guys are always online, you would be much faster that googling stuff. I don't know what would it be on the lisp community without you guys. Thanks again. Quote Link to comment Share on other sites More sharing options...
Tharwat Posted November 6, 2011 Share Posted November 6, 2011 You're welcome ketongin Enjoy . Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted November 6, 2011 Share Posted November 6, 2011 I thought for a moment your computer could do the weather, Temp and winddir :lol: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.