Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Need help with bat file  to open Multiple Excel Worksheets without waiting on first to close

Posted on 2011-03-10
2
Medium Priority
?
633 Views
Last Modified: 2012-08-14
Hi!  I'm trying to write a batch file to open multiple excel files.  The first one opens, but I have to close excel to get the second one to open, etc.  I want them to all open at once.  Can anyone help?  Here is what I have:

"R:\Time Tracking\Work Tracking.xls" &
"Z:\McCartney - Do Not Delete\Daily Tracking.xlsx" &
"Z:\CS Task Tracking - 2011.xlsm"

0
Comment
Question by:jam92102
2 Comments
 
LVL 85

Accepted Solution

by:
oBdA earned 2000 total points
ID: 35097872
Simply use "start":

start "" "R:\Time Tracking\Work Tracking.xls"
start "" "Z:\McCartney - Do Not Delete\Daily Tracking.xlsx"
start "" "Z:\CS Task Tracking - 2011.xlsm"

Open in new window

0
 

Author Closing Comment

by:jam92102
ID: 35097894
Thank you so much!!
0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

876 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question