B
balaguruthangaraj
String[] command = new String[] {"CSCRIPT", vbsFile , "arg1" ,
"arg2"};
Runtime.getRuntime().exec(command);
and
Runtime.getRuntime().exec("CSCRIPT vbsfile arg1 arg2");
In the above code arg1 and arg2 are append when I got these arguments
in vbsfile.
But When I excute the same in command prompt it works fine.
Is anybody face this issue?
"arg2"};
Runtime.getRuntime().exec(command);
and
Runtime.getRuntime().exec("CSCRIPT vbsfile arg1 arg2");
In the above code arg1 and arg2 are append when I got these arguments
in vbsfile.
But When I excute the same in command prompt it works fine.
Is anybody face this issue?