I want to run dos commands from a GUI interface. I want to create a Visual Program that will execute dos commands in the command shell in windows 7. Ok so for example lets say i want to run defrag in the cmd prompt.. I would type Defrag and then enter. Instead i would like to just click a button to do this job in a visual basic program.