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

Author Topic: How can i make my batch file open new batch files in new windows?  (Read 3970 times)

0 Members and 1 Guest are viewing this topic.

LaumManiac

    Topic Starter


    Newbie
    • Experience: Beginner
    • OS: Unknown
    How can i make my batch file open new batch files in new windows? ???
    I have tried everything but it just overrides the one i have open currently.
    Please help! :D

    Geek-9pm


      Mastermind
    • Geek After Dark
    • Thanked: 1026
      • Gekk9pm bnlog
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 10
    Re: How can i make my batch file open new batch files in new windows?
    « Reply #1 on: January 26, 2011, 12:41:24 PM »
    Show us what you have.

    LaumManiac

      Topic Starter


      Newbie
      • Experience: Beginner
      • OS: Unknown
      Re: How can i make my batch file open new batch files in new windows?
      « Reply #2 on: January 26, 2011, 12:55:19 PM »
      I know it's basic ( :-[) but:
      @echo
      cls
      :start
      call test1.vbs
      goto



      Geek-9pm


        Mastermind
      • Geek After Dark
      • Thanked: 1026
        • Gekk9pm bnlog
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 10
      Re: How can i make my batch file open new batch files in new windows?
      « Reply #3 on: January 26, 2011, 01:40:26 PM »
      Read over the documentation for CALL in a batch file.
      You CALL one batch fie from another.

      example:
      batch1.bat
      Code: [Select]
      Echo this is batch one.
      call batch2
      echo we are done.
      batch2.bat
      Code: [Select]
      echo But this is batch two.


      patio

      • Moderator


      • Genius
      • Maud' Dib
      • Thanked: 1769
        • Yes
      • Experience: Beginner
      • OS: Windows 7
      Re: How can i make my batch file open new batch files in new windows?
      « Reply #4 on: January 26, 2011, 03:05:29 PM »
      This should be good...
      " Anyone who goes to a psychiatrist should have his head examined. "