public static String mkSdCardCmdName(){
  String os=System.getProperty("os.name");
  String cmd="mksdcard";
  if (os.startsWith("Windows")) {
    cmd+=".exe";
  }
  return cmd;
}

public static String mkSdCardCmdName ( ) { String os = System . getProperty ( "os.name" ) ; String cmd = "mksdcard" ; if ( os . startsWith ( "Windows" ) ) { cmd += ".exe" ; } return cmd ; }
returns the appropriate name for the ' mksdcard ' command , which is ' mksdcard . exe ' for windows and ' mkdsdcard ' for all other platforms .
