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

Author Topic: Batchfile executing commands from a text file  (Read 4524 times)

0 Members and 1 Guest are viewing this topic.

Sky Ninja

    Topic Starter


    Rookie

  • *headdesk*
    Batchfile executing commands from a text file
    « on: October 02, 2008, 09:36:15 PM »
    Is it possible for a batch file to read a text file and execute it's contents (all of them) in the same window?

    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: Batchfile executing commands from a text file
    « Reply #1 on: October 02, 2008, 09:41:11 PM »
    copy the text file into a batch file.
    CALL the batch file
    erase the temporary batch file.
    I was trying to dereference Null Pointers before it was cool.

    Sky Ninja

      Topic Starter


      Rookie

    • *headdesk*
      Re: Batchfile executing commands from a text file
      « Reply #2 on: October 03, 2008, 12:42:59 PM »
      in the same window
      I need it to be in the same window. Is it possible?

      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: Batchfile executing commands from a text file
      « Reply #3 on: October 03, 2008, 05:54:50 PM »
      The steps I gave you will be in the same window.
      I was trying to dereference Null Pointers before it was cool.

      Sky Ninja

        Topic Starter


        Rookie

      • *headdesk*
        Re: Batchfile executing commands from a text file
        « Reply #4 on: October 07, 2008, 08:34:25 PM »
        Oh, sorry. Thank you.