i have set it path in my environmentYou didn't say so, even after I reminded you of the issue. And you had no other reason to switch to ProcessBuilder. So why did you do that again?
but still i am unaware about , getting rid of 'cmd/c'You cannot possibly be 'unaware' of it. I mentioned it above, in answer to another of your questions. Read the thread.