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

Author Topic: position and size ?  (Read 2280 times)

0 Members and 1 Guest are viewing this topic.

Caprier

    Topic Starter


    Greenhorn

    position and size ?
    « on: October 05, 2007, 07:21:34 PM »
    Hello. I'm new to this forum and batch scripting. My question is in two parts.

    I often have to work with different programs at the same time and I'm getting tired to reposition and resize the windows. I'm looking for the proper DOS syntax to do it through a batch file.

    How can I open NotePad (for example) from a DOS command with its window at a specific location on my screen and of a specific size ?
    Instead of just opening NotePad, can I do the same directly with a TXT file (open mytext.txt in NotePad at this location and with this size, or -  other example - open mypic.bmp with PSP at this location and with this size) ?

    Thanks for your help.   :)

    contrex

    • Guest
    Re: position and size ?
    « Reply #1 on: October 06, 2007, 05:18:54 AM »
    You cannot do this in DOS or NT-family command prompt.

    You can, however, edit the properties of the command window to make it always come up in the same place and have the same size.

    Caprier

      Topic Starter


      Greenhorn

      Re: position and size ?
      « Reply #2 on: October 06, 2007, 05:27:27 AM »
      Thanks a lot for your answer, contrex. I feared something like that...   :-\