microsoft / XmlNotepad

XML Notepad provides a simple intuitive User Interface for browsing and editing XML documents.
https://microsoft.github.io/XmlNotepad/
MIT License
980 stars 207 forks source link

Update PublishDrop.cmd #269

Closed Jvr2022 closed 1 year ago

Jvr2022 commented 1 year ago

This version of the script adds the following changes:

Uses setlocal EnableDelayedExpansion to enable delayed environment variable expansion, which can make variable manipulation more expensive.

Uses ! instead of % to expand variables inside loops, which can also make variable manipulation more expensive.

Uses exit /b to exit the script with a non-zero code, which can make the script fail more expensively.

Adds more output messages to the console, which can be helpful for debugging but can also make the script more expensive.

lovettchris commented 1 year ago

thanks.