Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

os name  RSS feed

 
madhuri akhi
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
Acutually
if( osName.equals( "Windows XP" ) )
{
cmd[0] = "cmd.exe" ;
cmd[1] = "/C" ;
}
so
what is the name of macthosh operating system name?
 
madhuri akhi
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
gupta
am not understood.Please clear
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've always used



That way, you're not so sensitive to the small details; you'll handle various versions of Windows automatically, for example.
 
Sunil Kumar Gupta
Ranch Hand
Posts: 824
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by madhuri akhi:
hi
Acutually
if( osName.equals( "Windows XP" ) )
{
cmd[0] = "cmd.exe" ;
cmd[1] = "/C" ;
}
so
what is the name of macthosh operating system name?



Sorry, I was just by misunderstood the problem.

Any way, It is "Mac OS X"
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!