ketongin Posted November 6, 2011 Posted November 6, 2011 Which system variable holds the computer name? Thank you. Quote
Lee Mac Posted November 6, 2011 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
rkent Posted November 6, 2011 Posted November 6, 2011 Leemac, I thought for a moment your computer could do the weather, Temp and winddir Quote
ketongin Posted November 6, 2011 Author 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
Lee Mac Posted November 6, 2011 Posted November 6, 2011 I thought for a moment your computer could do the weather, Temp and winddir :lol: Quote
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.