START command

  • Thread starter Thread starter SharkD
  • Start date Start date
S

SharkD

The start command seems like it would be useful for setting the
processor priority for programs. The help text states:

"If it is an internal cmd command or a batch file then
the command processor is run with the /K switch to
cmd.exe.
This means that the window will remain after the
command
has been run."

However, I am encoding music files using command-line tools executed
from a single batch file. Is there a similar tool that I can use that
doesn't open a new window? Or, can I force START to close the window
when the command-line programs are done executing? I don't want
hundreds of little windows to pop up.

Thanks.

Mike
 
The start command seems like it would be useful for setting the
processor priority for programs. The help text states:

                "If it is an internal cmd command or a batch file then
                the command processor is run with the /K switch to
cmd.exe.
                This means that the window will remain after the
command
                has been run."

However, I am encoding music files using command-line tools executed
from a single batch file. Is there a similar tool that I can use that
doesn't open a new window? Or, can I force START to close the window
when the command-line programs are done executing? I don't want
hundreds of little windows to pop up.

Thanks.

Mike

Nevermind. I found the answer here:

http://www.itworld.com/nls_windows_lowpriority060814#comment-12945

Mike
 
The start command seems like it would be useful for setting the
processor priority for programs. The help text states:

                "If it is an internal cmd command or a batch file then
                the command processor is run with the /K switch to
cmd.exe.
                This means that the window will remain after the
command
                has been run."

However, I am encoding music files using command-line tools executed
from a single batch file. Is there a similar tool that I can use that
doesn't open a new window? Or, can I force START to close the window
when the command-line programs are done executing? I don't want
hundreds of little windows to pop up.

Thanks.

Mike

Save the script below as somefilename.vbs It will run your batch file
hidden.

Set WshShell = WScript.CreateObject("WScript.Shell")
Return = WshShell.Run("yourfile.bat", 0, true)
Wscript.Quit()
 
Back
Top