Is that possible to execute all the command available in cmd prompt by a java program?
all that i know is there are .exe files corresponding to commands in windows>system32 folder, those are only executable by Runtime().exec command.what about other commands not having corresponding .exes?is it possible to pipe commands?

(I'm a newbie to this forum.I've asked the same question under another similar thread before, since i didn't know the rules.hope you won't mind.)


Thank u very much.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.