1.

Solve : position and size ??

Answer»

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. 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.
Thanks a lot for your answer, contrex. I feared something like that...



Discussion

No Comment Found