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?

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.

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"

Open in new window

Hope that helps

runnerjp2005Author Commented:
That does help

what would be the command to open Extra! ?
Steve KnightIT 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!

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"

Open in new window

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


Experts Exchange Solution brought to you by

Your issues matter to us.

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

Start your 7-day free trial
Steve KnightIT ConsultancyCommented:
just curious... In your next question you use MY answer, i.e. sTART commands....
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.