START command

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

Nevermind. I found the answer here:

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

Mike
 
H

Hodges

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()
 

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