Any ideas on how to execute a DOS prompt command

I am trying to do the following and need help :
Step#1 :
Accepting fields on a screen (which I know how to do)
Step#2 :
After editing, when the user presses the Submit button, I want to trigger a command to run in the Dos environment at a command line, then return ??
Can this be done using Java ?
Thank you.

Process is a class in the java.lang.Process package.
The windows is just a variable that I have to check what is the Operating System running my Java Application.
You need to look at the API for the Runtime class.
This class has a method for excecuting commands.

Similar Messages

Maybe you are looking for

  • Garritan Sound Files

    I have Garritan Personal Orchestra. Where are the sound files stored on my Mac?

  • IPod Nano WONT sync audiobooks

    I am using a iPod Nano 5th generation and it wont sync audiobooks. I have restored my iPod twice and still the problems remain. Podcasts and everythign else syncs but audiobooks. Does anyone have any ideas? The audiobooks were downloaded from the app

  • Can i make an appointment for update the macbook pro

    Hi I use to have a macbook I brought from China that when i came to US i want to instal for new edition in the store, dose i have pay any fee for that? if not, i want to make an appointment for instal it. thanks.

  • Vibration prob

    Yesterday my BlackBerry z10 got wiped out cos of device password now my phone is not vibrating during calls

  • Unable to touch

    hi every1. i got a 32gb ipod touch suddently unable to use the touch screen. the touch screen is not responds at all. i dont know what generation is my ipod touch, its either 2 or 3gen i have tried all kinda method, restore my ipod touch, restart it