Jump to content

Command Prompt window size problem


Recommended Posts

Guest kimiraikkonen
Posted

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.

  • Replies 4
  • Created
  • Last Reply
Guest Pegasus \(MVP\)
Posted

Re: Command Prompt window size problem

 

 

"kimiraikkonen" <kimiraikkonen85@gmail.com> wrote in message

news:1190466792.549661.232970@22g2000hsm.googlegroups.com...

> 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"

Guest kimiraikkonen
Posted

Re: Command Prompt window size problem

 

On Sep 22, 5:32 pm, "Pegasus \(MVP\)" <I....@fly.com> wrote:

> "kimiraikkonen" <kimiraikkone...@gmail.com> wrote in message

>

> news:1190466792.549661.232970@22g2000hsm.googlegroups.com...

>

>

>

>

>

> > 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"- 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

Guest Pegasus \(MVP\)
Posted

Re: Command Prompt window size problem

 

 

"kimiraikkonen" <kimiraikkonen85@gmail.com> wrote in message

news:1190553573.755539.279980@50g2000hsm.googlegroups.com...

> On Sep 22, 5:32 pm, "Pegasus \(MVP\)" <I....@fly.com> wrote:

>> "kimiraikkonen" <kimiraikkone...@gmail.com> wrote in message

>>

>> news:1190466792.549661.232970@22g2000hsm.googlegroups.com...

>>

>>

>>

>>

>>

>> > 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"- 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

>

 

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.

Posted

Re: Command Prompt window size problem

 

kimiraikkonen wrote:

> On Sep 22, 5:32 pm, "Pegasus \(MVP\)" <I....@fly.com> wrote:

>> "kimiraikkonen" <kimiraikkone...@gmail.com> wrote in message

>>

>> news:1190466792.549661.232970@22g2000hsm.googlegroups.com...

>>

>>

>>

>>

>>

>>> 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'm not allowed to change Windows size even with dragging !

>>> Why? What's the reason and annoying restriction of window resizing 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"- 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?

>

> 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.

 

--

Joe =o)


×
×
  • Create New...