Command for running application minimized

  • Thread starter Thread starter nkjg
  • Start date Start date
N

nkjg

Hey everyone,

This is probably a really easy question (I'm dumb =P).

I'm wondering what the add on to a shortcut command is to
run a program minimized. I've got a program that I wrote
in C++ and I want to run at start up, but I'd like it to
run in the background (i.e. no window pops up).

The program runs and then closes itself (by means of
system("exit") ), so it's only running for about 0.02
seconds, but I'd rather not see this big, ugly command
prompt screen flash at me everytime that I start up my
computer...

Thanks for the help!

Nick
(e-mail address removed)
 
Create a hidden window instead opf a visable one. Don't use a window at all.

Look at Start /min command. Start is an internal command so to use
cmd /cstart /min notepad.exe

But you'll get a big black window. All shortcuts have provision for starting minimised in the properties.
 
Thanks a million! Worked like a charm!

Just out of curiosity, is there a command like that to
run a program in the background? or does that have to be
done in the program itself?

Thanks again,

Nick
(e-mail address removed)

-----Original Message-----
Create a hidden window instead opf a visable one. Don't use a window at all.

Look at Start /min command. Start is an internal command so to use
cmd /cstart /min notepad.exe

But you'll get a big black window. All shortcuts have
provision for starting minimised in the properties.message news:[email protected]...
 
In Background is a application defined state. To windows there is no such thing. There is merely windows, active, hidden, on the taskbar, the underlying program code doesn't see any difference.
 
Nuts.... that means that I've got to learn more stuff
before I can do that... phooey...

Thanks for the help!

Nick
(e-mail address removed)

-----Original Message-----
In Background is a application defined state. To windows
there is no such thing. There is merely windows, active,
hidden, on the taskbar, the underlying program code
doesn't see any difference.message news:[email protected]...
Thanks a million! Worked like a charm!

Just out of curiosity, is there a command like that to
run a program in the background? or does that have to be
done in the program itself?

Thanks again,

Nick
(e-mail address removed)

-----Original Message-----
Create a hidden window instead opf a visable one.
Don't
use a window at all.
Look at Start /min command. Start is an internal
command
so to use
cmd /cstart /min notepad.exe

But you'll get a big black window. All shortcuts have
provision for starting minimised in the properties. ---
-
message news:[email protected]...
Hey everyone,

This is probably a really easy question (I'm dumb =P).

I'm wondering what the add on to a shortcut command
is
to
run a program minimized. I've got a program that I wrote
in C++ and I want to run at start up, but I'd like
it
to
run in the background (i.e. no window pops up).

The program runs and then closes itself (by means of
system("exit") ), so it's only running for about 0.02
seconds, but I'd rather not see this big, ugly command
prompt screen flash at me everytime that I start up my
computer...

Thanks for the help!

Nick
(e-mail address removed)
.
.
 
Back
Top