Command Prompt Textbook
English
  • 日本語
  • English
  • Español
Copying and Pasting Text

Learn how to copy and paste text in Command Prompt. Ctrl+C and Ctrl+V work in Windows 10/11, while older versions or cer

Create Empty File

Learn how to create a 0-byte empty file from Command Prompt or a batch file using type nul, copy nul, and echo;, with co

Create a New Folder

Learn how to create folders from Command Prompt or a batch file with the mkdir (md) command: nested folder structures, n

Display Current Folder

Use the cd command to display the current directory in Command Prompt or a batch file. Learn the difference between %cd%

Getting Date and Time

Learn how to get and format the date and time in batch files. Covers the %DATE% and %TIME% variables, using them in file

Delayed Expansion

Fix variables that do not update inside FOR loops and IF blocks in batch files. Learn how setlocal enabledelayedexpansio

Delete Files and Folders

How to delete files and folders in Command Prompt and batch files. Covers when to use del and rmdir, wildcards, deleting

Character Encoding and Garbled Text

Learn the causes of garbled text in the command prompt and batch files, and how to fix it. Covers changing the code page

Persistent Environment Variables and PATH

Learn how to set session-only variables with the set command and persistent environment variables with the setx command.

ERRORLEVEL

Learn how to handle errors in batch files with ERRORLEVEL (exit codes): checking results, branching on errors, setting c

Previous Page 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