[RESOLVED] batch file question
Results 1 to 6 of 6

Thread: [RESOLVED] batch file question

  1. #1
    techie211
    Guest

    Resolved [RESOLVED] batch file question

    hey ppl! does anyone know how to create a batch file that will open multiple windows that run different commands in each window?

    Any help would be great

    l8r

    ------------------
    "knowledge is power"

  2. #2
    MacGyver
    Guest

    Post

    Create a shortcut for each command that you want to run. If the commands you are trying to run are native DOS commands and not EXE files, then you'll have to put the commands in a batch file and call that batch file from the shortcut. Next, create a "master" batch file that calls all the others using the following syntax:

    Start shrtcut1.pif
    Start shrtcut2.pif
    Start shrtcut3.pif
    etc
    etc


    ------------------
    I help others in the name of my Lord, Jesus Christ.

  3. #3
    Registered User Gabriel's Avatar
    Join Date
    Aug 2000
    Location
    Tel Aviv Israel
    Posts
    2,161

    Thumbs up

    ... In Addition:
    if it is Batch files i mind -
    call 1.bat
    call 2.bat
    call 3.bat
    Etc..

    You have to use call because if not - the first batch file executed from the original will terminate the original Batch file Execution.



    ------------------
    It Works Better if you Plug it in, It Works far better if you Turn it ON!

  4. #4
    MacGyver
    Guest

    Post

    Gabriel, to clarify - the CALL command will not open a new DOS window which is what he wants to do. The START command will open a new window for each command, though.

    ------------------
    I help others in the name of my Lord, Jesus Christ.

  5. #5
    techie211
    Guest

    Thumbs up

    thanks for your replys. The 'start'
    command did it.

    l8r

    ------------------
    "knowledge is power"

  6. #6
    MANDAN
    Guest

    Post

    I Like it.

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
  •