I was wondering How to execute java Application with different userName and password. For example: Right now: When I do,
System.getProperty("user.name");
I get user1
.
But I want to program in such a way that it says user2
.
Can somebody help me How to accomplish this with Java or bat files. Any kind of help is appreciated.