*.bat file does not work after transition to 2007

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • newnewbie
    New Member
    • Nov 2006
    • 54

    *.bat file does not work after transition to 2007

    Hi,

    I have a batch file that I use monthly to do some routine report publishing tasks. Since our transition to 2007 we are testing if everything will run in 2007 programs. The file seems to run, but it does not do what it is supposed to do (and I cannot stop the little black window that appears and disappears too quickly when I doubleclick on the file to see if there has been an error). I was wondering if I should have changed anything since we are on 2007 now.
    This file has been created by someone else, I have no experience with bat files. Any suggestions would be appreciated.

    Thanks!
    Lena

    SET cmdstr="C:\Prog ram Files\Microsoft Office\OFFICE11 \msaccess.exe"
    SET dtbmcr=/x Export_Files

    DELETED
    _______________

    Found an answer, not worth posting.
    Last edited by newnewbie; Mar 31 '09, 02:52 PM. Reason: Found an answer, not worth posting.
  • newnewbie
    New Member
    • Nov 2006
    • 54

    #2
    Never mind, the access.exe was in a new folder and the file could not locate it.Thanks! No further reply needed.

    Comment

    • NeoPa
      Recognized Expert Moderator MVP
      • Oct 2006
      • 32661

      #3
      Hi Lena.

      Batch files typically disappear quickly. Especially if there work is done quickly. If you add a PAUSE command after the last line though (in the file) it will wait for you to press a key before disappearing.

      This can sometimes give you access to some very valuable information.

      Comment

      • newnewbie
        New Member
        • Nov 2006
        • 54

        #4
        Thank you for the tip!

        Comment

        Working...