HexLibraryHexLibrary
</> HexCodeSign inSign up
PythonJavaScriptTypeScriptCC++JavaPHPGoRustRubyBashSQLLuaPerlCOBOLPascalDelphiFortranDartSwiftC#JuliaGroovyRElixirHaskellKotlinScalaClassic ASPClipperMS-DOS
LESSONS
Introduction to MS-DOS BatchVariablesConditions (IF)Loops (FOR)File OperationsParameters and Subroutines
REFERENCE
📖 Overview
🖥️ Output
📦 Variables
🔀 Condition
🔁 Loop
⚙️ Commands & Flow
MS-DOS›REFERENCE

MS-DOS — Command Reference

Most used MS-DOS / Windows command line (batch, .bat) commands — automation and system scripts. NOTE: Since it requires the Windows command interpreter, it cannot be run here; examples are for educational purposes.

5 categories · 8 commands

🖥️

Output

Printing with echo.

echo
1 commands →
📦

Variables

Variables and arithmetic with set.

set / %variable%set /a (arithmetic)
2 commands →
🔀

Condition

Decision making with if.

if / else
1 commands →
🔁

Loop

Iteration with for.

for (items)for /l (numeric)
2 commands →
⚙️

Commands & Flow

Frequently used commands and labels.

cd / dir / copy / delgoto / :label / call
2 commands →
HexLibraryHexLibrary

Learn programming more clearly. Every command is explained line by line with colors, reinforced with runnable exercises, test your code instantly — all in one place, free.

Learn

  • Home
  • Languages & Lessons
  • HexCode

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Use

Other Projects

  • HexToolz
  • Free Service Manuals
© 2026 HexLibrary · The clearest way to learn code