Skip to content

Conversation

@CodingWonders
Copy link

No description provided.

@rcmaehl
Copy link

rcmaehl commented Oct 10, 2025

Does this provide any sort of feedback that the script failed other than setting ERRORLEVEL to 1? If it just closes CMD, users might think it completed successfully

@CodingWonders
Copy link
Author

CodingWonders commented Oct 10, 2025

@rcmaehl, while this method keeps the one-liner for curl (which can be changed), it will not exit CMD, just the script, thanks to the /b parameter of EXIT.

Also, @echo off will just turn off command-line input. Output will still be displayed.

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

Successfully merging this pull request may close these issues.

2 participants