Results 1 to 2 of 2
  1. #1
    redbull's Avatar
    redbull is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Mar 2012
    Location
    Missouri
    Posts
    480

    Running .bat thru a vbs file... Arg


    Hello, I have created a patch file (.bat) that will fix a small part of the program our users work in...

    When the users open the program in the morning, they are are clicking on a vbs file that does a check for the newest version...

    I am trying to figure out how to call or run this batch file (stored on shared drive) from within the vbs file. I know this could be simply resolved by using vba code and attach it to an on load event... HOWEVER I don't want to make program changes for such a small type of patch. I have been all over google searching for an answer, but everything I find is throwing errors. Any help would be appreciated.

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    if you're looking for the command to run an external file from a vb script here's an example:

    http://ss64.com/vb/run.html

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 3
    Last Post: 07-30-2012, 02:16 PM
  2. Replies: 1
    Last Post: 05-23-2012, 10:05 AM
  3. Replies: 10
    Last Post: 03-04-2012, 12:17 AM
  4. Accdb file differences running xp or Win7
    By 123seven in forum Access
    Replies: 1
    Last Post: 04-24-2011, 10:45 AM
  5. Running Batch File
    By NoiCe in forum Programming
    Replies: 2
    Last Post: 03-21-2010, 07:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums