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

Author Topic: How to change the size of the window in a batch file  (Read 16692 times)

0 Members and 1 Guest are viewing this topic.

BatchFileCommand

    Topic Starter


    Hopeful
  • Thanked: 1
    How to change the size of the window in a batch file
    « on: March 15, 2009, 12:57:21 PM »
    This is a frequently asked question so I thought I might post this.

    To change the size do this command.


    Code: [Select]
    mode con cols=? lines=? >nul

    Then where the question marks are you insert how many columns across you want and how many lines down.
    I don't know if the command mode is on every computer. But it was on my computer by default.
    I also figured this out at MasterJakeOnline, a small programming website.
    « Last Edit: March 16, 2009, 12:11:18 PM by BatchFileCommand »
    οτη άβγαλτος μεταφ βαθμολογία

    CWebguy



      Rookie
    • Thanked: 4
      Re: How to change the size of the window in a batch file
      « Reply #1 on: March 15, 2009, 01:04:20 PM »
      Cool, thanks.

      By the way, is that Greek in your sig?

      BatchFileCommand

        Topic Starter


        Hopeful
      • Thanked: 1
        Re: How to change the size of the window in a batch file
        « Reply #2 on: March 15, 2009, 01:20:48 PM »
        Yes, don't read it, it's a super secret  ;D.
        οτη άβγαλτος μεταφ βαθμολογία