Skip to content

Instantly share code, notes, and snippets.

@ezhov-da
Last active March 10, 2019 12:13
Show Gist options
  • Save ezhov-da/8b2dd289b7a08c16272562a81b72518a to your computer and use it in GitHub Desktop.
Save ezhov-da/8b2dd289b7a08c16272562a81b72518a to your computer and use it in GitHub Desktop.
перенос строк
==> https://stackoverflow.com/questions/69068/long-commands-split-over-multiple-lines-in-windows-vista-batch-bat-file
You can break up long lines with the caret ^ as long as you remember that the caret and the newline following it are completely removed. So, if there should be a space where you're breaking the line, include a space. (More on that below.)
Example:
copy file1.txt file2.txt
would be written as:
copy file1.txt^
file2.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment