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

Author Topic: change size of Notepad window  (Read 20474 times)

0 Members and 1 Guest are viewing this topic.

Yogesh123

    Topic Starter


    Beginner

    change size of Notepad window
    « on: June 25, 2010, 06:55:30 AM »
    I am opening a notepad file from my batch file program,
    but it opens in the full screen/in random size mode,
    How do i set the notepad file to open in the required size only,

    ----
    start c:\program_results.txt
    ----

    Thanks in advance!!

    marvinengland



      Hopeful

      Thanked: 11
      Re: change size of Notepad window
      « Reply #1 on: June 25, 2010, 07:12:15 AM »
      I am opening a notepad file from my batch file program,
      but it opens in the full screen/in random size mode,
      How do i set the notepad file to open in the required size only,


      Open only the notepad  window, right click on open spot of the taskbar and choose "Tile Windows Vertically" ( Make sure only one window is open when you do the above.)

      Windows will remember the window size your prefer for notepad.

      USA

      Yogesh123

        Topic Starter


        Beginner

        Re: change size of Notepad window
        « Reply #2 on: June 25, 2010, 07:20:42 AM »
        Dear marvinengland,
        the question is,
        How do i restrict the size or set to the required size only?

        marvinengland



          Hopeful

          Thanked: 11
          Re: change size of Notepad window
          « Reply #3 on: June 28, 2010, 05:59:58 PM »
          Dear marvinengland,
          the question is,
          How do i restrict the size or set to the required size only?


          Control the Window   
           
          --------------------------------------------------------------------------------
           
           <<<"You can control the location and size of a window with  the Title bar buttons,  (Win98, WinXP) or  (Vista) and by  dragging with your mouse. The shape of the mouse pointer tells you what action will take place when you drag. We have already used the  Vertical Resize on the taskbar. Here is a list to remind you of the possible shapes when resizing or moving.">>>

           http://www.jegsworks.com/Lessons/win/basics/step-controlwindow.htm



          USA

          Yogesh123

            Topic Starter


            Beginner

            Re: change size of Notepad window
            « Reply #4 on: June 28, 2010, 11:39:21 PM »
            how to control this notepad window size using batch scripting,
            Using command line

            Salmon Trout

            • Guest
            Re: change size of Notepad window
            « Reply #5 on: June 29, 2010, 12:22:50 AM »
            Set size and position with mouse, close Notepad.

            Open Notepad

            It remembers size and position

            Yogesh123

              Topic Starter


              Beginner

              Re: change size of Notepad window
              « Reply #6 on: June 29, 2010, 12:43:02 AM »
              Dear Salmon Trout,
              How to set the notepad window to the required size using command line/ batch scripting,

              like setting the command prompt window using,
              mode con lines=1
              mode con cols=56

              Salmon Trout

              • Guest
              Re: change size of Notepad window
              « Reply #7 on: June 29, 2010, 06:01:22 AM »
              Google for cmdow.exe

              dnthns87



                Rookie

                Thanked: 2
                Re: change size of Notepad window
                « Reply #8 on: June 29, 2010, 07:31:08 AM »
                with start you can include mode so you can do just this, you shouldnt have to google a third party prog , I'm Unsure of the proper syntax but you can experiment with mode try typing mode 120,30

                Salmon Trout

                • Guest
                Re: change size of Notepad window
                « Reply #9 on: June 29, 2010, 10:43:30 AM »
                with start you can include mode so you can do just this, you shouldnt have to google a third party prog , I'm Unsure of the proper syntax but you can experiment with mode try typing mode 120,30

                Mode can set the size of a command window, but how does that help you set the size of a Notepad window?

                Quote
                I'm Unsure of the proper syntax

                Maybe you should have waited until you were sure?



                Yogesh123

                  Topic Starter


                  Beginner

                  Re: change size of Notepad window
                  « Reply #10 on: July 02, 2010, 01:31:18 AM »
                  yes,
                  I checked it,
                  MODE doesn't work to set notepad window size,

                  any other alternate pls...

                  marvinengland



                    Hopeful

                    Thanked: 11
                    Re: change size of Notepad window
                    « Reply #11 on: July 02, 2010, 06:49:17 AM »
                    yes,
                    I checked it,
                    MODE doesn't work to set notepad window size,

                    any other alternate pls...

                    Why does it matter?

                    You have been given several solutions.


                    Click the middle icon at the top right to control window size. One click and the size is changed.  Drag the the top left corner of the window to the size you need.

                    All  the suggestions given in this thread solve the window size problem.

                    Again, why does it matter?
                    USA

                    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: change size of Notepad window
                    « Reply #12 on: July 02, 2010, 10:26:45 AM »
                    Again, why does it matter?

                    He wants to set the size directly from the batch file when notepad starts.

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

                    marvinengland



                      Hopeful

                      Thanked: 11
                      Re: change size of Notepad window
                      « Reply #13 on: July 02, 2010, 11:26:56 AM »
                      "He wants to set the size directly from the batch file when notepad starts."

                      So, how does Yogesh123  set the notepad window size from a batch file?
                      USA

                      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: change size of Notepad window
                      « Reply #14 on: July 02, 2010, 11:28:41 AM »
                      So, how does Yogesh123  set the notepad window size from a batch file?

                      Google for cmdow.exe

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