Skip to content

Mention start "" \path\SilentCMD in the README to prevent cmd prompt from appearing #11

Description

@danielkrajnik

Would it be worth mentioning in the README that prepending SilentCMD with start "" can prevent the command prompt from appearing at all (source)? I found it useful for startup scripts.

Example: C:\Users\<USER>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\sshd-interactive-mode.bat:

start "" C:\Users\<USER>\bin\SilentCMD\SilentCMD.exe ^
"C:\Program Files\OpenSSH\sshd.exe" ^
-f C:\Users\<USER>\.ssh\sshd_config

start "" here prevents the cmd prompt from appearing on start. Without it the cmd prompt window lingers on the desktop even though the program exited.

But maybe it's obvious for more experienced windows users/admins.

Great utility by the way - thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions