|
Answer» I have written a fairly extensive batch file program that automates processing of meteorological data for my work. The program works WELL, but in my last step, I would like to be able to OPEN two external programs/files at once. One is an executable file (WRPLOT.exe) and the other is an excel SPREADSHEET. The way I have it right now, the WRPLOT opens and the spreadsheet won't open until WRPLOT is closed/terminated.
I've searched through the topics but did not see a solution to this. From what I did read, I'm not sure I can do this with the batch file, but I thought I'd throw this out there and see if anybody has figured out how to do it.
Let me know if you need additional information to ANSWER the question. Thank you!I think you might use this: start cmd.exe "start WRPLOT.exe" start cmd.exe "start anything.exe" Use the quotes Hope I helped youNo need for the cmd.exe
Code: [SELECT]start "" "c:\wherever\WRPLOT.EXE" start "" "C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE"
Note the quotes after START and arounnd the program paths and names and the path to Excel.exe might need altering on a 64 bit machine. Thank you, that did the trick!
Thanks for the replies!
|