dos command in java
Hi
I have used google to get an answer for this.
This is the command i have used to run some dos commands in java
Unfortunately it doesn't throws any exceptions but still the directory and the file news.txt is not created.
Process t=objrun.exec("command.com /c dir > c:/news.txt");
Process p=objrun.exec("command.com /c mkdir c:/Prabhath");
Please help me....am using windows xp OS.

