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

Author Topic: Run multiple files sequentially using Batch file commands  (Read 20284 times)

0 Members and 1 Guest are viewing this topic.

anivij

    Topic Starter


    Starter

    Run multiple files sequentially using Batch file commands
    « on: April 15, 2009, 03:23:57 AM »
    I have problem regarding autorun.
    My question is:
    How can I run multiple files sequentially?
     
    currently i tried with
    autorun.inf
    [autorun]
    open=open.bat

    open.bat
    start  \file1.exe
    start  \file2.exe
     
    using this my files are running simultaneously which is not as per my requirement.

    I want, only after completing execution of file1.exe, my second file file2.exe should get start.
     
    So plz give me suggetion for running multiple files sequentially in autorun.
    What commands I have to write in batch file for executing multiple files sequentially?

    anivij

    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
    Re: Run multiple files sequentially using Batch file commands
    « Reply #1 on: April 15, 2009, 03:27:23 AM »
    devdutta.... spdch... whatever your name is.


    your not fooling anybody.


    Obviously you intend to make something malicious- otherwise you would have found a veritable method of doing so legitimately.


    have you yet tried "START /?"



    I was trying to dereference Null Pointers before it was cool.

    anivij

      Topic Starter


      Starter

      Re: Run multiple files sequentially using Batch file commands
      « Reply #2 on: April 15, 2009, 04:57:53 AM »
      Thanx for giving such name to me.
      If you r so intelligent then give me solution for this....

      Reno



        Hopeful
      • Thanked: 32
        Re: Run multiple files sequentially using Batch file commands
        « Reply #3 on: April 15, 2009, 05:05:43 AM »
        no, it cannot be done in batch. PERIOD.

        so cut the crap, stop creating multiple accounts, and stop spamming.  >:(

        Dias de verano

        • Guest
        Re: Run multiple files sequentially using Batch file commands
        « Reply #4 on: April 18, 2009, 04:11:44 AM »
        Thanx for giving such name to me.
        If you r so intelligent then give me solution for this....

        if you r get it ur self dickw33d. This is not script kiddy help site.

        Helpmeh



          Guru

        • Roar.
        • Thanked: 123
          • Yes
          • Yes
        • Computer: Specs
        • Experience: Familiar
        • OS: Windows 8
        Re: Run multiple files sequentially using Batch file commands
        « Reply #5 on: April 19, 2009, 09:59:40 AM »
        no, it cannot be done in batch. PERIOD.

        so cut the crap, stop creating multiple accounts, and stop spamming.  >:(
        Actually it can...but the maliciousness that would befall if I said it here would get it removed if I did say it.
        Where's MagicSpeed?
        Quote from: 'matt'
        He's playing a game called IRL. Great graphics, *censored* gameplay.

        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
        Re: Run multiple files sequentially using Batch file commands
        « Reply #6 on: April 19, 2009, 10:58:03 AM »
        It's easy. I already gave them a hint. But chances are  they won't follow it anyway.
        I was trying to dereference Null Pointers before it was cool.

        Helpmeh



          Guru

        • Roar.
        • Thanked: 123
          • Yes
          • Yes
        • Computer: Specs
        • Experience: Familiar
        • OS: Windows 8
        Re: Run multiple files sequentially using Batch file commands
        « Reply #7 on: April 19, 2009, 11:19:34 AM »
        It's easy. I already gave them a hint. But chances are  they won't follow it anyway.
        Even then it doesn't always work...my computer requires you to start something else then CALL the batch file.
        Where's MagicSpeed?
        Quote from: 'matt'
        He's playing a game called IRL. Great graphics, *censored* gameplay.