How do I get rid of a flasher?

B

Bill Case

To whom it may concern;

How do I keep the command-line window from flashing when I use a dos or command-line command in a shortcut?

eg. I have "C:\WINDOWS\SYSTEM32\shutdown.exe -r -f -t 0" as the target of a desktop restart shortcut. As the computer shuts down the command-line window flashes. Of course, the bigger the -t value the longer the window remains open.

The flashing is only slightly irritateing - but certainly not good form.

Bill
Windows XP Home
 
S

Steve Nielsen

Bill said:
To whom it may concern;

How do I keep the command-line window from flashing when I use a dos or
command-line command in a shortcut?

eg. I have "C:\WINDOWS\SYSTEM32\shutdown.exe -r -f -t 0" as the target
of a desktop restart shortcut. As the computer shuts down the
command-line window flashes. Of course, the bigger the -t value the
longer the window remains open.

The flashing is only slightly irritateing - but certainly not good form.

Bill
Windows XP Home

Right click the shortcut, properties, in the Run field select Minimized
in place of Normal window. It'll still show up in taskbar as a minimized
task but at least you won't have the window.

Steve
 
B

Bill Case

Thanks Steven;

Your suggestion got rid of the window and things look better but I'm
surprised that Windows doesn't have a way to make a job run completely in
the background.

Oh well.

Bill
 
S

Steve Nielsen

Bill said:
Thanks Steven;

Your suggestion got rid of the window and things look better but I'm
surprised that Windows doesn't have a way to make a job run completely in
the background.

Oh well.

Bill

Try creating a text file saved with a .bat or .cmd file extension
containing the command string and have the shortcut call the .bat or.cmd
instead of the command directly, and include the switch "/quiet" at the
end of the command string, i.e.:

C:\WINDOWS\SYSTEM32\shutdown.exe -r -f -t 0 /quiet

Steve
 
A

Alex Nichol

Bill Case said:
How do I keep the command-line window from flashing when I use a dos or command-line command in a shortcut?

eg. I have "C:\WINDOWS\SYSTEM32\shutdown.exe -r -f -t 0" as the target of a desktop restart shortcut. As the computer shuts down the command-line window flashes. Of course, the bigger the -t value the longer the window remains open.

The flashing is only slightly irritateing - but certainly not good form.

If you right click the shortcut, Properties, and set the 'Run' pane to
Minimised, you should not see the window (just a task bar button)
 

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