How could I read an environmental variable that a user has set?
I\'m new to desktop development on the Mac (cocoa), and I am building a little tool that I can use to acc
Look at the environment method on a NSProcessInfo. It returns a NSDictionary of the environment so e.g. for PATH
NSString* path = [[[NSProcessInfo processInfo]environment]objectForKey:@"PATH"];