Tag archives for Running system command through Java
16 Sep by fetch1 in Programming
Running system command through Java
Running system commands through Java
Try the below code (for Linux OS) & you'll get the listing of files & folders from current directory
If you want to open & close CD rom infinitely,
Just replace 'ls' command with the cd ROM opening cmd
Also for CD ROM closing .... Enclose them in infinite ...more»

No Comment
Tags: Running system command through Java