Windows Batch Scripting

From The Travis van der Font Wiki
Jump to: navigation, search

How is this still a thing? No idea. Yet, here it is.

https://en.wikibooks.org/wiki/Windows_Batch_Scripting
https://en.wikipedia.org/wiki/Batch_file
http://www.chami.com/tips/windows/010897W.html
https://stackoverflow.com/questions/2997578/how-do-i-comment-on-the-windows-command-line
https://www.tutorialspoint.com/batch_script/batch_script_comments.htm (https://superuser.com/questions/1154316/i-want-to-write-down-some-notes-in-a-bat-file-what-codes-can-be-added-to-the-n)
https://www.windows-commandline.com/batch-file-get-current-directory/
https://ready.arl.noaa.gov/documents/Tutorial/html/test_batch.html
https://stackoverflow.com/questions/24338075/run-batch-file-with-my-own-command-in-cmd
https://gist.github.com/Iristyle/5171999
https://github.com/ambarth/git-checkout-files-from-branch/blob/master/gradlew.bat
https://stackoverflow.com/questions/31444879/windows-batch-how-to-remove-first-line-and-last-line-and-save-as-a-new-text-fil
https://www.howtogeek.com/263177/how-to-write-a-batch-script-on-windows/
Echo a blank (empty) line: https://stackoverflow.com/questions/20691060/echo-a-blank-empty-line-to-the-console-from-a-windows-batch-file
IF %Language% EQU 1031 ( 
    SET SearchString="Lokaler Port"
) ELSE (
    :: this is english
    IF %Language% EQU 1033 ( 
    SET SearchString="LocalPort"
    ) ELSE goto :eof
)