View unanswered posts | View active topics It is currently 24 Apr 2014 09:47



Post new topic Reply to topic  [ 3 posts ] 
How to open a file on a network drive using batch file? 
Author Message

Joined: 19 Jul 2012 01:49
Posts: 5
Post How to open a file on a network drive using batch file?
Right now I have an excel file that I want to open with a batch file. The excel file name is:

JK Counter Log.xls

I already tried:

start /d "K: blahblahblah" JK Counter Log.xls
and
start EXCEL.EXE "K: blahblahblah\JK Counter Log.xls"

says something like it can't find "JK" make sure you are typing it out correctly.

any help will be appreciated. thanks.


19 Jul 2012 02:00
Profile

Joined: 23 Dec 2011 13:59
Posts: 1554
Post Re: How to open a file on a network drive using batch file?
Might help if you put a Back Slash after your drive letter.


19 Jul 2012 06:20
Profile

Joined: 10 Feb 2012 02:20
Posts: 3675
Post Re: How to open a file on a network drive using batch file?
You need the correct path, and the two empty quotes at the start.

Code:
start "" "K:\blah1\blah2\blah3\JK Counter Log.xls"


This may also work.

Code:
start "" "\\server\share\JK Counter Log.xls"


19 Jul 2012 10:32
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


Who is online

Users browsing this forum: No registered users and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Forum style by Vjacheslav Trushkin for Free Forums/DivisionCore.