DOS Interaction

Sep 27, 2010 at 12:38 PM

I want to use inputsimulator from window to dos . But when i try to pass text from windows screen to dos screen it is not passing text.

 

InputSimulator.SimulateKeyDown(VirtualKeyCode.MENU);

InputSimulator.SimulateKeyPress(VirtualKeyCode.TAB);                

InputSimulator.SimulateKeyUp(VirtualKeyCode.MENU);              

 InputSimulator.SimulateTextEntry("Test");              

InputSimulator.SimulateKeyPress(VirtualKeyCode.TAB);