Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

Starting Access In Batch File

Discussion in 'Information Technology' started by Rdennisc, Jul 28, 2006.

  1. Rdennisc

    Rdennisc
    Expand Collapse
    Guest

    Could someone tell me how to start access and a access .mdb file in a batch
    file.
    thanks
     
  2. Loading...

    Similar Threads Forum Date
    Starting On The Path New to Sikhism Apr 23, 2011
    Just Starting My Journey. Any Suggestions? New to Sikhism Mar 25, 2010
    Pictures Of Sikh Parvs/Festivals/Events Starting With Hola Mohalla In Anandpur Sahib Business, Lifestyle & Leisure Jan 24, 2007
    India Sikhs In South, Northeast Lack Access To Education: Study Breaking News Aug 29, 2013
    USA 1.3 Million Students Have Access To Sikh Studies In Schools (Kaur Foundation) Breaking News Jan 9, 2013

  3. OP
    Rick B

    Rick B
    Expand Collapse
    Guest

    I just built a batch file with the following line in it and it started the
    database...

    c:\test.mdb


    If you have a more specific question, let us know.


    --
    Rick B



    "Rdennisc" <Rdennisc@discussions.microsoft.com> wrote in message
    news:CCE666D4-496B-4820-9467-8FE8EA44F43D@microsoft.com...
    > Could someone tell me how to start access and a access .mdb file in a
    > batch
    > file.
    > thanks
     
  4. OP
    (PeteCresswell)

    (PeteCresswell)
    Expand Collapse
    Guest

    Per Rdennisc:
    >Could someone tell me how to start access and a access .mdb file in a batch
    >file.
    >thanks


    If you just want to start with defaults, code the name of the .MDB.

    Otherwise, something like this:

    START /B /HIGH /MAX "'Returns' Startup" MSACCESS.EXE %AppPathLocal% /ini
    "%IniPath%" /wrkgrp "%SecPath%" /Excl /Cmd "%AppDirLocal%"
    --
    PeteCresswell
     
  5. OP
    Rdennisc

    Rdennisc
    Expand Collapse
    Guest

    thanks the name of the file is Report Rail.dbm could you tell me where to
    put it to open it . thanks

    "(PeteCresswell)" wrote:

    > Per Rdennisc:
    > >Could someone tell me how to start access and a access .mdb file in a batch
    > >file.
    > >thanks

    >
    > If you just want to start with defaults, code the name of the .MDB.
    >
    > Otherwise, something like this:
    >
    > START /B /HIGH /MAX "'Returns' Startup" MSACCESS.EXE %AppPathLocal% /ini
    > "%IniPath%" /wrkgrp "%SecPath%" /Excl /Cmd "%AppDirLocal%"
    > --
    > PeteCresswell
    >
     
  6. OP
    (PeteCresswell)

    (PeteCresswell)
    Expand Collapse
    Guest

    Per Rdennisc:
    >thanks the name of the file is Report Rail.dbm could you tell me where to
    >put it to open it . thanks
    >>
    >> START /B /HIGH /MAX "'Returns' Startup" MSACCESS.EXE %AppPathLocal% /ini
    >> "%IniPath%" /wrkgrp "%SecPath%" /Excl /Cmd "%AppDirLocal%"


    All the parms bracketed by "%" need to be filled in or deleted.

    So you'd wind up with:

    START /B /HIGH /MAX "'Returns' Startup" MSACCESS.EXE "Report Rail.dbm"

    Although I suspect "Report Rail.dbm" needs to be qualified further...as in
    "C:\Whatever\Report Rail.dbm".

    Finally, is it really ".dbm"? or is it ".mdb"?
    --
    PeteCresswell
     
Since you're here... we have a small favor to ask...     Become a Supporter      ::     Make a Contribution     


Share This Page