public static void main(String args[]) throws IOException { String[] params = new String[1]; params[0] = args[0] + ".sho"; Main.main(params); }