Here is my batch file:
i AM GETTING the first file to open in excel, but the rest of them will not open. It will freeze on the first one, and not open the next one in the list until I close excel first. Am I missing something simple? Like PAUSE, maybe? What I want to do is open multiple files in one instance of Excel using this batch file.
On the other hand, this works:
However, I do NOT want 6 instances of excel running! what a pain! =) Can anyone help me open 6 different files in excel from a batch file with only one instance of excel running? Thanks so much!
Code:
Q:
cd DIRECTORY
"FILE 1"
"FILE 2"
"FILE 3"
"FILE 4"
"FILE 5"
"FILE 5"
"FILE 5"
"FILE 6"
i AM GETTING the first file to open in excel, but the rest of them will not open. It will freeze on the first one, and not open the next one in the list until I close excel first. Am I missing something simple? Like PAUSE, maybe? What I want to do is open multiple files in one instance of Excel using this batch file.
On the other hand, this works:
Code:
Q:
cd DIRECTORY
start excel.exe
start "FILE 1"
start "FILE 2"
start "FILE 3"
start "FILE 4"
start "FILE 5"
start "FILE 5"
start "FILE 5"
start "FILE 6"