This is README for "bat-snippets" extension which contains Snippets for BAT files.
Define snippets to make use if/for statements more easily
- iferr:
Check wheter exit code equal to or greater than the number specified
- ifexist:
Check wheter the specified filename exists
- ifequ/ifneq/iflss/ifleq/ifgtr/ifgeq:
Compare two strings
- ifdef:
Check wheter specified variable has been defined
- else:
else statement
- forl:
For /L loop
- ford:
For /D loop
- forr:
For /R loop
- forf:
For /F loop
- eof:
Turn command-echoing off
- eof:
Go to the end of bat script
- setp:
Read variable value from standard input stream
- pushd
- enable-delay-expansion:
Enable delayed environment variable