Open Multiple Files in MS DOS (1 Viewer)

ajetrumpet

Banned
Local time
Yesterday, 20:03
Joined
Jun 22, 2007
Messages
5,638
Here is my batch file:
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"
However, I do NOT want 6 instances of excel running! what a pain! =)
 
Last edited:

CHSBK

Registered User.
Local time
Today, 02:03
Joined
Jun 24, 2009
Messages
12
Hi

It's very similar to your previous post, but have you tried:

Code:
start excel "file 1" "file 2" "file 3".....
 

ajetrumpet

Banned
Local time
Yesterday, 20:03
Joined
Jun 22, 2007
Messages
5,638
Hi

It's very similar to your previous post, but have you tried:

Code:
start excel "file 1" "file 2" "file 3".....

it was solved long ago. thanks ;)
 

Users who are viewing this thread

Top Bottom