Can cmd.exe be started with a minimized window

  • Thread starter Thread starter Bill
  • Start date Start date
B

Bill

Is there any way to start cmd.exe minimized?

I am working with a process which start does something like

cmd guiblah.exe

on the users computer.

First the command window comes up then the GUI program.
I'd like the command window to start up minimized.

I tried using start /min in my program but the connection
ends up created cmd start /min and I still get the empty
command window.

Does anyone have any idea how to do this?

Thanks all
Bill
 
Use the start commard, tip 364 in the 'Tips & Tricks' at http://www.jsiinc.com

Is there any way to start cmd.exe minimized?

I am working with a process which start does something like

cmd guiblah.exe

on the users computer.

First the command window comes up then the GUI program.
I'd like the command window to start up minimized.

I tried using start /min in my program but the connection
ends up created cmd start /min and I still get the empty
command window.

Does anyone have any idea how to do this?

Thanks all
Bill


Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
I tried that ... as I explained in my original message.

In this instance cmd.exe opens up and executes the PC
command sent to the system. I need a way to convince
cmd.exe to open a minimized window.

Thanks
 
Bill said:
Is there any way to start cmd.exe minimized?

I am working with a process which start does something like

cmd guiblah.exe

on the users computer.

First the command window comes up then the GUI program.
I'd like the command window to start up minimized.

I tried using start /min in my program but the connection
ends up created cmd start /min and I still get the empty
command window.

Does anyone have any idea how to do this?

Thanks all
Bill

Can you not simply create a shortcut configured to start minimized?
 
No, not in this case. A "mainframe" type computer through
a network connection is starting a process on the local
PC. A rmtcmd process is running as a service. The
mainframe starts an instance of cmd.exe. It pops up with
an empty command window and the application runs with a
GUI interface.

I'd like to make it possible for cmd.exe to start
minimized instead of a window.

You can get at the properties of the command processor by
right clicking the upper left corner of a command window
and save them for generally. Unfortunately, one of the
options is not to start minimized.

Thanks for asking
Bill
-----Original Message-----
Bill said:
Is there any way to start cmd.exe minimized?

I am working with a process which start does something like

cmd guiblah.exe

on the users computer.

First the command window comes up then the GUI program.
I'd like the command window to start up minimized.

I tried using start /min in my program but the connection
ends up created cmd start /min and I still get the empty
command window.

Does anyone have any idea how to do this?

Thanks all
Bill

Can you not simply create a shortcut configured to start minimized?

--
Dean Wells [MVP / Windows platform]
MSEtechnology
[[ Please respond to the Newsgroup only regarding posts ]]
R e m o v e t h e m a s k t o s e n d e m a i l


.
 
In
Bill said:
Is there any way to start cmd.exe minimized?

I am working with a process which start does something like

cmd guiblah.exe

on the users computer.

First the command window comes up then the GUI program.
I'd like the command window to start up minimized.

I tried using start /min in my program but the connection
ends up created cmd start /min and I still get the empty
command window.

Does anyone have any idea how to do this?

Can you use some variant of

cmd /c start /min "your_program"

?

ws
 
No, not in this case. A "mainframe" type computer through
a network connection is starting a process on the local
PC. A rmtcmd process is running as a service. The
mainframe starts an instance of cmd.exe. It pops up with
an empty command window and the application runs with a
GUI interface.

I'd like to make it possible for cmd.exe to start
minimized instead of a window.

You can get at the properties of the command processor by
right clicking the upper left corner of a command window
and save them for generally. Unfortunately, one of the
options is not to start minimized.

Thanks for asking
Bill
-----Original Message-----
Bill said:
Is there any way to start cmd.exe minimized?

I am working with a process which start does something like

cmd guiblah.exe

on the users computer.

First the command window comes up then the GUI program.
I'd like the command window to start up minimized.

I tried using start /min in my program but the connection
ends up created cmd start /min and I still get the empty
command window.

Does anyone have any idea how to do this?

Thanks all
Bill

Can you not simply create a shortcut configured to start minimized?

--
Dean Wells [MVP / Windows platform]
MSEtechnology
[[ Please respond to the Newsgroup only regarding posts ]]
R e m o v e t h e m a s k t o s e n d e m a i l


.

Are you able to control/change the arguments submitted to "rmtcmd"
service from the other computer?
 
-----Original Message-----
No, not in this case. A "mainframe" type computer through
a network connection is starting a process on the local
PC. A rmtcmd process is running as a service. The
mainframe starts an instance of cmd.exe. It pops up with
an empty command window and the application runs with a
GUI interface.

I'd like to make it possible for cmd.exe to start
minimized instead of a window.

You can get at the properties of the command processor by
right clicking the upper left corner of a command window
and save them for generally. Unfortunately, one of the
options is not to start minimized.

Thanks for asking
Bill
-----Original Message-----
Bill wrote:
Is there any way to start cmd.exe minimized?

I am working with a process which start does something like

cmd guiblah.exe

on the users computer.

First the command window comes up then the GUI program.
I'd like the command window to start up minimized.

I tried using start /min in my program but the connection
ends up created cmd start /min and I still get the empty
command window.

Does anyone have any idea how to do this?

Thanks all
Bill

Can you not simply create a shortcut configured to start minimized?

--
Dean Wells [MVP / Windows platform]
MSEtechnology
[[ Please respond to the Newsgroup only regarding posts ]]
R e m o v e t h e m a s k t o s e n d e m a i l


.

Are you able to control/change the arguments submitted to "rmtcmd"
service from the other computer?

No. I talked with their tech support.

I can effectively do something like

cmd.exe start /min myprogram.exe.......

That almost works.

Thanks for the interest!
--
Dean Wells [MVP / Windows platform]
MSEtechnology
[[ Please respond to the Newsgroup only regarding posts ]]
R e m o v e t h e m a s k t o s e n d e m a i l


.
 
-----Original Message-----
In

Can you use some variant of

cmd /c start /min "your_program"

?

Yes. The mainframe generates

cmd.exe

I can append to that getting

I am experimenting with that. Thanks!
 
Are you able to control/change the arguments submitted
to "rmtcmd"
service from the other computer?

No. I talked with their tech support.

I can effectively do something like

cmd.exe start /min myprogram.exe.......

That almost works.

Thanks for the interest!
--
Dean Wells [MVP / Windows platform]
MSEtechnology
[[ Please respond to the Newsgroup only regarding posts ]]
R e m o v e t h e m a s k t o s e n d e m a i l


.

Having tried to simulate your environment, I found the following worked
well -

cmd /c start myprog.exe

.... this caused the Command Shell to instantly terminate. Is this of
any use?

Dean
 
Back
Top