Is it possible? I have encounter a situation that execute a same java program with different combination of program arguments. Surely, if you are in linux you can use shell script. What about windows? Yes, windows has Windows PowerShell so i have used windows powershell to do the exact same this if i was in a linux operating system. This is what is did.