Java read String on batch -


i have batch follows:

@echo off java main 127.0.0.1 pause 

now want number after 'main' in code above string, can change string editing batch file.

public static void main (string args[]) { .... string ip_string=args[0]; .... } 

does work?


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -