Results 1 to 6 of 6

Thread: *.bat file - how do I run several tasks at once

  1. #1
    Senior Member skozzy's Avatar
    Join Date
    Jan 2008
    Location
    Brisbane
    Age
    55
    Posts
    525
    Thanks
    31
    Thanked 19 Times in 16 Posts
    Rep Power
    217
    Reputation
    114

    Default *.bat file - how do I run several tasks at once

    When I put a program in a BAT file the script waits till that program exits before continuing, is there a way to make it continue without waiting.



Look Here ->
  • #2
    Super Moderator
    Fernbay's Avatar
    Join Date
    Jan 2008
    Location
    Newcastle
    Posts
    4,684
    Thanks
    1,515
    Thanked 3,458 Times in 1,141 Posts
    Rep Power
    671
    Reputation
    15830

    Default

    Separate out that particular command into it's own batch file & call that batch file from inside your original batch file
    Reality is an invention of my imagination.
    ಠ_ಠ

  • The Following User Says Thank You to Fernbay For This Useful Post:

    best4less (14-06-09)

  • #3
    Senior Member
    best4less's Avatar
    Join Date
    Jan 2008
    Location
    Australia
    Posts
    7,684
    Thanks
    3,487
    Thanked 2,207 Times in 1,132 Posts
    Rep Power
    758
    Reputation
    15165

    Default

    Is there anything you don't know mate
    When you do things right, people won't be sure that you have done anything at all

  • #4
    Senior Member skozzy's Avatar
    Join Date
    Jan 2008
    Location
    Brisbane
    Age
    55
    Posts
    525
    Thanks
    31
    Thanked 19 Times in 16 Posts
    Rep Power
    217
    Reputation
    114

    Default

    Quote Originally Posted by Fernbay View Post
    Separate out that particular command into it's own batch file & call that batch file from inside your original batch file
    Ok, can you add to it like how to call it, im very rusty with scripts, never had much of a need in the past to use em.

  • #5
    Super Moderator
    Fernbay's Avatar
    Join Date
    Jan 2008
    Location
    Newcastle
    Posts
    4,684
    Thanks
    1,515
    Thanked 3,458 Times in 1,141 Posts
    Rep Power
    671
    Reputation
    15830

    Default

    main bat file

    Code:
    start prog1.bat
    start prog2.bat
    start prog3.bat

    prog1.bat
    Code:
    start prog1.exe
    prog2.bat
    Code:
    start prog2.exe
    prog3.bat
    Code:
    start prog3.exe
    Reality is an invention of my imagination.
    ಠ_ಠ

  • The Following User Says Thank You to Fernbay For This Useful Post:

    skozzy (14-06-09)

  • #6
    Senior Member skozzy's Avatar
    Join Date
    Jan 2008
    Location
    Brisbane
    Age
    55
    Posts
    525
    Thanks
    31
    Thanked 19 Times in 16 Posts
    Rep Power
    217
    Reputation
    114

    Default

    awesome, thanks, I will give it a go.

  • The Following User Says Thank You to skozzy For This Useful Post:

    Fernbay (15-06-09)

  • Similar Threads

    1. Help With A MDF File
      By best4less in forum PC Software
      Replies: 22
      Last Post: 24-08-11, 08:31 AM
    2. what s a .wim file
      By GARBO in forum PC Software
      Replies: 5
      Last Post: 31-10-08, 12:01 AM
    3. Lotus NSF File to PST File Conversion
      By lukesal in forum PC Software
      Replies: 1
      Last Post: 03-10-08, 03:54 PM
    4. Scheduled Tasks
      By navy blue in forum PC Software
      Replies: 1
      Last Post: 31-03-08, 02:22 PM
    5. PDF file?
      By dawar in forum PC Software
      Replies: 4
      Last Post: 08-01-08, 06:02 AM

    Bookmarks

    Posting Permissions

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