execute file2.bat from file1.bat and continue

Discussion in 'Scripting' started by John Grandy, Jun 21, 2005.

  1. John Grandy

    John Grandy Guest

    How to have file1.bat include the line file2.bat ... but once processing is
    finished in file2.bat, return to file1.bat and continue processing the next
    line ?
     
    John Grandy, Jun 21, 2005
    #1
    1. Advertisements

  2. Hi,

    In file1.bat, use this:

    call file2.bat
     
    Torgeir Bakken \(MVP\), Jun 21, 2005
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.