Test files › Security and validation › windows-batch.bat

Sample Windows batch (.bat) file

A Windows batch file that only echoes a line.

↓ Download windows-batch.bat
Filenamewindows-batch.bat
FormatBatch file
Size69 bytes (69 bytes)
MIME typetext/plain
SHA-256d21ca7d218cbb7b35b11dee42f7d750456f35c859a643152ddb0c58898ab0386
What this file catchesThe Windows half of the blocklist test. Also check .cmd, .ps1, .vbs and .scr.

Related guides and tools

Sample TXT and encoding test filesUpload validation checklistQA test stringsCheck a file's real typeVerify its SHA-256

Download & verify

curl -fsSL -o "windows-batch.bat" "https://flagged.hexaqa.com/security/windows-batch.bat"
curl -fsSL "https://flagged.hexaqa.com/security/windows-batch.bat" | sha256sum # expect: d21ca7d218cbb7b35b11dee42f7d750456f35c859a643152ddb0c58898ab0386

More security and validation test files

eicar.com.txtgtube-spam.txthtml-xss-payloads.htmlpath-traversal-payloads.txtpolyglot-gif-html.gifshell-script.shsql-injection-payloads.txt

← All Security and validation files