FG
💻 Software

How do I echo a TAB char on a command prompt

Fresh6 days ago
Mar 15, 2026126266 views
Confidence Score0%
0%

Problem

On a windows batch file, what is the proper way to echo a TAB? I know I can type the TAB char between entries, but most editors will display it as a sequence of spaces. Some will even automatically convert them to spaces, I'm looking for something more visual. Clarification: here means the real tab…

Error Output

echo A<TAB>B<TAB>C

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I echo a TAB char on a command prompt

Low Risk

Just hit the TAB key in an editor that supports it, Notepad for example. So, if I enter this: It would result in this:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment