Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: execute a command in batch file and continue to next line without waiting  (Read 58491 times)

0 Members and 2 Guests are viewing this topic.

ialistoun

    Topic Starter


    Greenhorn

    How do i execute a command on command line and continue to next line (of batch script) WITHOUT WAITING?

    this is for a windows batch file

    similar to the & used in unix scripting.

    i'm sure there's a windows alternative ?

    doubleagent



      Greenhorn

      Thanked: 1
      If you precede your command with "start", then it will start your command and continue to the next command, i know this works with starting executables, but I'm not sure about other commands

      BC_Programmer


        Mastermind
      • Typing is no substitute for thinking.
      • Thanked: 1140
        • Yes
        • Yes
        • BC-Programming.com
      • Certifications: List
      • Computer: Specs
      • Experience: Beginner
      • OS: Windows 11
      with internal commands you might need to do

      start cmd /c <command>
      I was trying to dereference Null Pointers before it was cool.

      ialistoun

        Topic Starter


        Greenhorn

        thanks guys, my problem is solved. always a nice feeling   ;D

         i tried to thank both of u via link but not sure if it worked (the thanking part on computer hope.com)