Command Prompt Textbook
English
  • 日本語
  • English
  • Español
Passing Arguments to Batch Files

Learn how to pass arguments to a batch file and read them with %1 and %2. Covers call versus start, counting arguments,

UAC Auto-Elevation

Learn how to make a batch file automatically display the UAC elevation dialog and restart itself with administrator priv

How to Create a Batch File

A beginner-friendly guide to creating batch files (.bat). Learn how to make one in Notepad, what @echo off means, how to

Calculation (Arithmetic)

Use set /a to do math in Command Prompt and batch files. Covers arithmetic, remainders (%%), counters, random numbers, a

Chaining Commands

Learn the differences between &, &&, and || for running multiple commands on one line in Command Prompt. Covers grouping

assoc / ftype - File Associations

Learn how to view and change the link between file extensions and apps using the assoc and ftype commands in Command Pro

attrib - Change file attributes

Use the attrib command in Command Prompt to view and change file and folder attributes: read-only, hidden, system, and a

call - Execute Other Batch Files

Learn how to run another batch file from a batch file with the call command. Covers why control does not return without

cd/chdir - Changing Directories

Learn how to change directories with the cd (chdir) command in Command Prompt and batch files: moving to a parent direct

CERTUTIL - Hash Values & Base64

Learn how to use the CERTUTIL command to calculate SHA-256 or MD5 hashes and check that a downloaded file is not corrupt

Next Page
サイトロゴ 事業名
Products
kintone Plugin (Free) kintone Plugin Store kula - Web media with kintone
Resources
Blog Portfolio Inquiry
Documents
Command Prompt Textbook Introduction to Office Scripts Introduction to Google Apps Script Introduction to Power Automate Desktop
Policies
Privacy Policy Terms of Use
© 2026 Ribbit App Development
X(Twitter) Github Zenn Qiita