Hiiiiiii everyone.......


iam learning java newly.........
so i have doubt in writing this pgm can anyone pls tell me out.........

"can we write a java program which calls the command prompt"


byeeee
vineela.........

Recommended Answers

All 2 Replies

Yes you can...do that...

Try like this....

Runtime.getRuntime().exec( command );

thank qqqqqqqqqq
bye take care......
keep smiling ........
vineela..........

Yes you can...do that...

Try like this....

Runtime.getRuntime().exec( command );

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.