Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Java system commands

  Asked By: Sean    Date: Apr 19    Category: Java    Views: 859

What are some ways to invoke the operating system commands? Are there
any ways such as ("dir","cls", or any other valid system command?)
Would I need to create a .dll file, or is there a proper way to use
the Runtime.getRuntime().exec()? I have Windows XP operating system
on my computer. A lot of destined programmers wanted to know how to
invoke the operating system commands. If the developers of Java have
already include it in the library, then why a lot of would-be
programmers have difficulty?

I wish someone could explain more about it in detail? If it is
possible, what are some ways to invoke the operating systems commands
in Java?



No Answers Found. Be the First, To Post Answer.

Didn't find what you were looking for? Find more on Java system commands Or get search suggestion and latest updates.