| 1. |
Solve : How to create a batch?? |
|
Answer» I have a program (program.exe)(running on WinXPpro) which STARTS by opening a dialog with two text fields in which I have to type some code - example: 123456789 in the first box, and 987654321 in the second box and then click OK to actually start the program. Although I'm not new to computes, since Norton Commander and Wordstar, I'm not familiar with batch files and commands. I'm TIRED of opening the program, and then the text file CONTAINING just the two LINES with numbers and then copy and paste it, one by one, into the BOXES, and I was wondering if this could be done by excuting a batch file. By now, I've just managed to write a batch which starts the "program.exe" together with "notepad.exe" opening the text file containing the code, so the copy/pasting is easier, but, can I do something more? This batch file, I assume, should first start the program, then get the first line of numbers from the text file and paste it into the first textbox, and then the second line of numbers and paste it into the second box. Or should I create two separate text files, each one containing one of the lines? |
|