Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
danielkrajnik opened this issue Nov 16, 2023 · 0 comments

Comments

@danielkrajnik
Copy link

danielkrajnik commented Nov 16, 2023

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!

@danielkrajnik danielkrajnik changed the title Mention that start "" \path\SilentCMD in the README Mention start "" \path\SilentCMD in the README to prevent cmd prompt from appearing Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant