I would like to make a batch file that:
- Opens cmd.exe
- Within that Command Prompt runs
cd C:\mywork\then runsset path=%path%;C:\Program Files\Java\jdk1.7.0_05\binand at the final runsjava MCExploitwich runs a .class file, but the final command shows some text likeomg|omgso I need to be able to read that text. - Leaves the window open so that I can run additional commands if I wish to
How can I do this?
START cmd.exe /k "cd C:\mywork\" & "set path=%path%;C:\Program Files\Java\jdk1.7.0_05\bin" & "java MCExploit"but it doesn't show the text I was talking about. When I do it manualy it works but when I do that from the batch I mentioned above, it doesn't show the text. – Juan Lee Feb 1 at 20:02