Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~111 People Reached
Favorite Forums
Favorite Tags
java x 1
Member Avatar for bhowal_1981

command[0] = "cmd"; command[1] = "/C"; command[2] = "dir"; command[3] = "C:\\SomeDir"; Runtime rt = Runtime.getRuntime(); Process p = rt.exec(command , null , workDir); It is working fine. Here the executable command is "dir". Here p.waitFor() gives value 0. [COLOR="Red"]But if I give any other command suppose "rename *.doc *.rtf" …

Member Avatar for verruckt24
0
111