Command Prompt window size problem

K

kimiraikkonen

Hi,
There's a very annoying and stupid problem about "command prompt AKA
cmd.exe" in XP. When i open command prompt through "start-cmd.exe" no
problem in resizing default window.

But i have some console applications must be ran with command prompt
as natural. But when i run them the Window size is fixed to 80x55 and
i'n not allowed to change Windows size even with dragging !

Why? What's the reason and annoying restriction of window rezising of
command prompt in XP?

I only have that problem if i launch problem with double-clicking on
my app's exe. I don't have any Window restriction problem of Command
prompt if run application by running cmd.exe first.

Thanks.
 
P

Pegasus \(MVP\)

kimiraikkonen said:
Hi,
There's a very annoying and stupid problem about "command prompt AKA
cmd.exe" in XP. When i open command prompt through "start-cmd.exe" no
problem in resizing default window.

But i have some console applications must be ran with command prompt
as natural. But when i run them the Window size is fixed to 80x55 and
i'n not allowed to change Windows size even with dragging !

Why? What's the reason and annoying restriction of window rezising of
command prompt in XP?

I only have that problem if i launch problem with double-clicking on
my app's exe. I don't have any Window restriction problem of Command
prompt if run application by running cmd.exe first.

Thanks.

Then you should invoke your application via the Command Processor!

cmd /c "Kimi's Application" "c:\program files\Some App\abcxyz.exe"
 
K

kimiraikkonen

Then you should invoke your application via the Command Processor!

cmd /c "Kimi's Application" "c:\program files\Some App\abcxyz.exe"- Hide quoted text -

- Show quoted text -

You mean i ought to run it from command prompt (cmd.exe) instead of
double-clicking on program? Am i right?

Why am i forced to do this and why doesn't the next applications open
with the size that i've set previously?

Everytime all apps open with same size 80x25 size if i open via double-
click
 
P

Pegasus \(MVP\)

kimiraikkonen said:
You mean i ought to run it from command prompt (cmd.exe) instead of
double-clicking on program? Am i right?

Why am i forced to do this and why doesn't the next applications open
with the size that i've set previously?

Everytime all apps open with same size 80x25 size if i open via double-
click

You can run your application from a command prompt if you
like but you could also invoke it via a shortcut or via the Run
box, using the command I gave you. If I was in your position
then I would create a shortcut, then modify the properties of
the shortcut to suit my requirements.
 
E

Elmo

kimiraikkonen said:
You mean I ought to run it from command prompt (cmd.exe) instead of
double-clicking on program? Am I right?

Why am I forced to do this and why doesn't the next applications open
with the size that I've set previously?

Every time all apps open with same size 80x25 size if I open via double-
click.

Go to the source, the C:\Windows\System32\ folder and open CMD.exe

Right-click the top border, click Defaults. Change to the preferred way
the program opens and close. I believe this will cause any program that
uses it to open by your preferred method. I _think_ that's how I got
command windows to always open maximized.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top