Computer Hope
Microsoft => Microsoft DOS => Topic started by: Yogesh123 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!!
-
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.
-
Dear marvinengland,
the question is,
How do i restrict the size or set to the required size only?
-
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
-
how to control this notepad window size using batch scripting,
Using command line
-
Set size and position with mouse, close Notepad.
Open Notepad
It remembers size and position
-
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
-
Google for cmdow.exe
-
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
-
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?
I'm Unsure of the proper syntax
Maybe you should have waited until you were sure?
-
yes,
I checked it,
MODE doesn't work to set notepad window size,
any other alternate pls...
-
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?
-
Again, why does it matter?
He wants to set the size directly from the batch file when notepad starts.
-
"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?
-
So, how does Yogesh123 set the notepad window size from a batch file?
Google for cmdow.exe
-
marvin, can you actually read?
cmdow "Untitled - Notepad" /SIZ 600 800 /MOV 10 10
C:\>cmdow /find "Notepad"
0x090420 1 2004 Res Ina Ena Vis notepad Untitled - Notepad
C:\>cmdow 0x090420 /SIZ 600 800 /MOV 100 10
-
Yogesh123,
Cmdow did not* work for Yogesh123, the man with the question.
I have not tested cmdow.
Resizing a window is minor task and not worth the effort of using
Cmdow. Cmdow is a third party piece of software with questionable validity
or use.
p.s cmdow is from Commandline.co.uk. Uk? BP is from UK and look what BP did
to the Gulf.
* Yogesh123 wrote:
"I checked cmdow
MODE doesn't work to set notepad window size,
any other alternate ideas from UK?"
-
Cmdow did not* work for Yogesh123, the man with the question.
He has not, so far as I can see, tried it, so how do you know?
Cmdow is a third party piece of software with questionable validity or use.
You are a pathetic fool who posts nonsense, and worse...
p.s cmdow is from Commandline.co.uk. Uk? BP is from UK and look what BP did
to the Gulf.
You utter, utter imbecile.
1. I am from the UK too. I don't like your racism. If you don't mind me saying so, you are a dickhead.
2. BP ownership is 40% British, 39% US, 10% Europe, 7%, rest of world, 4% miscellaneous.
3. James Earl Ray, The KKK, Timothy McVeigh, and Jeffrey Dahmer are from the USA. Look what they did.
Amoco is from the USA. Look what they did to Alaska.
* Yogesh123 wrote:
"I checked cmdow
marvin, you just plain made this up. he wrote,
I checked it,
MODE doesn't work to set notepad window size,
"it" - (i.e. mode). marvin now turns to fabricating "quotes" to support his lies.
marvin is clearly mentally ill, and clearly full of malice, and now he is an exposed and proved liar, forger of quotes, xenophobic loony and cheat.
He needs to be banned.
-
Thread Locked.