How to check OS name?
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
How to check OS name?

 
Post new topic   Reply to topic    CADForums.net Forum Index -> Customization
Author Message
kemp
Guest





Posted: Thu Jan 06, 2005 4:32 am    Post subject: How to check OS name? Reply with quote

How would you check the OS within AutoCAD? I need to set paths based on
OS version since XP and Win2K plotter files are not compatible but I
can't find any vars or properties that hold this info...

thx, kemp

Back to top
Luis Esquivel
Guest





Posted: Thu Jan 06, 2005 4:47 am    Post subject: Re: How to check OS name? Reply with quote

(getVar "platform")

or

(getenv "OS")


is that what you are looking for?
Back to top
kemp
Guest





Posted: Thu Jan 06, 2005 5:04 am    Post subject: Re: How to check OS name? Reply with quote

Now that was simple - exactly what i needed. Thanks!

Luis Esquivel wrote:
Quote:
(getVar "platform")

or

(getenv "OS")


is that what you are looking for?



Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Customization All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB