No description or website provided.
Switch branches/tags
Nothing to show
Clone or download
Latest commit bcbd691 Sep 29, 2017
Permalink
Failed to load latest commit information.
Brenner.SilentCmd.Tests Closes #1, closes #2, closes #3 Sep 29, 2017
Brenner.SilentCmd Closes #1, closes #2, closes #3 Sep 29, 2017
.gitignore Closes #1, closes #2, closes #3 Sep 29, 2017
LICENSE Added license Jun 11, 2017
README.md Applied v1.3 changes Sep 29, 2017
SilentCmd.sln Made project open source Jun 11, 2017

README.md

SilentCMD

SilentCMD executes a batch file without opening the command prompt window. If required, the console output can be redirected to a log file.

Download:SilentCMD_1.3.zip (7 KB)
Operating System:Windows 7 or newer
License:MIT

Command Line Syntax

SilentCMD [BatchFile [BatchArguments]] [Options]

Options:
    /LOG:file :: output status to LOG file (overwrite existing log)
   /LOG+:file :: output status to LOG file (append to existing log)
   /DELAY:seconds :: delay the execution of batch file by x seconds

Examples

SilentCMD c:\DoSomething.bat
SilentCMD c:\MyBatch.cmd MyParam1 /LOG:c:\MyLog.txt
SilentCMD c:\MyBatch.cmd /LOG+:c:\MyLog.txt
SilentCMD c:\MyBatch.cmd /DELAY:3600 /LOG+:c:\MyLog.txt

Use Cases

You can use SilentCMD for running batch files from the Windows Task Scheduler. With the tool you do not get interrupted by the command prompt window that normally would pop up.

You can call SilentCMD without parameters if required (e.g. when double-clicking it in Windows Explorer). In that case you have to specify the default parameters in SilentCMD.exe.config.