# Batch files

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
###### Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
0
Author Commented:
That does help

what would be the command to open Extra! ?
0
IT ConsultancyCommented:
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
0
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
0

Experts Exchange Solution brought to you by

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

IT ConsultancyCommented:
just curious... In your next question you use MY answer, i.e. sTART commands....
0
###### It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft DOS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.