Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2003
    Posts
    106

    Unanswered: Running .bat file from Access

    Hi

    Can anyone help please?

    The Shell command runs .exe files but i am trying to open a .bat file that opens a .exe file

    Anyone know how please?

    thanks

    sugarflux

  2. #2
    Join Date
    Oct 2003
    Location
    Ger
    Posts
    1,969
    Provided Answers: 1

    Re: Running .bat file from Access

    Originally posted by sugarflux
    Hi

    Can anyone help please?

    The Shell command runs .exe files but i am trying to open a .bat file that opens a .exe file

    Anyone know how please?

    thanks

    sugarflux
    Try this in the immediate Window, it runs

    call Shell("C:\autoexec.bat", 1)

    That means you can call bat files using the Shell with no problems

  3. #3
    Join Date
    Aug 2003
    Posts
    106
    Thanks for this - problem solved!!

    sugarflux

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •