# Batch files

on
Im trying to open i file in my zdrive but it just seems to opens the command prompt to show the below.

I have check the file work in run and it opens fine.

What am i doing wrong?

untitled.bmp
Comment
Watch Question

Do more with

EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
You need to start the application with Access (assuming that the .mdb at the end is not someone's initials).  Try using:

MSACCESS "z:\support\products\cue\files that are updated\customer support users3.mdb"


Hope that helps

Priz

Commented:
That does help

what would be the command to open Extra! ?
IT Consultancy

Commented:
Are you by any chance using

START "z:\support\products\cue\files that are updated\customer support users3.mdb"

If so there is an IMO stupid part to START.  The first part in "" is the TITLE of the window so:

START C:\somefile.mdb  works OK
START "C:\some file.mdb" opens a cmd.exe prompt with title of c:\some file.mdb
START ""  "C:\some file.mdb"  opens the MDB!

Steve
Commented:
Not sure what Extra! is ... but all you need to do is find the executable and put the full path to it, if the path contans spaces you need to wrap it in quote marks:
"C:\Program Files\Vendor\Application\extra.exe" /arguments "Z:\path\to\any\file\that\needs\to\be\opened"


If Extra! is au auto-complete replacement for Excel then you just use the word EXCEL instead of MSACCESS in my previous example.

Priz
IT Consultancy

Commented:
just curious... In your next question you use MY answer, i.e. sTART commands....

Do more with