Check OS system?
Posted: August 15th, 2011, 2:47 pm
Is there a way to check what operating system is used? I have found $.os, which kind of works, but it will give me a long name like "Microsoft Windows Vista Servicepack etc. I'm looking for something that can simply say if the os is Windows or MacOS. I guess I could split the string and check the first letters, but it feels like there would be a simple command. Anyone?