I hope this helps 🙂
You could use:
Runtime.getRuntime().exec("ENTER COMMAND HERE");
More Related Contents:
- How to update PATH variable permanently from Windows command line?
- “The filename or extension is too long error” using gradle
- Executing cmd.exe commands from Java
- Run cmd commands through Java
- How to bring a window to the front?
- Windows shortcut (.lnk) parser in Java?
- How to do a true Java ping from Windows?
- Run Java application at Windows startup
- How to find and kill running Win-Processes from within Java?
- How to simulate a real mouse click using java?
- How can I set date and time formatting in Java that respects the user’s OS settings
- How can I add a context menu to the Windows Explorer for a Java application?
- Start CMD by using ProcessBuilder
- Default character encoding for java console output
- Validate a file name on Windows
- Simple Java program 100 times slower after plugging in USB hotspot
- Find out what application (window) is in focus in Java
- How to kill a process in Java, given a specific PID
- Reading Windows file summary properties (title, subject, author) in Java
- Run Java file as Administrator with full privileges
- How do you determine 32 or 64 bit architecture of Windows using Java?
- Launch associated program or show “Open with” dialog from another program
- Can’t get past 2542 Threads in Java on 4GB iMac OSX 10.6.3 Snow Leopard (32bit)
- How to configure trustStore for javax.net.ssl.trustStore on windows?
- Packaging Java apps for the Windows/Linux desktop
- How do you keep the machine awake?
- Find all drive letters in Java
- Windows shutdown hook on java application run from a bat script
- How do I access Windows Event Viewer log data from Java
- Convert static windows library to dll