Manage Space in Command Option

Q

How to manage space characters in the command option?

✍: FYIcenter.com

A

If command option has space characters, you have to enclose the command option between a pair of double quotes.

For example, if you want search for files named partially as "Bug Fix" on the hard disk, you can end this command:

C:\>dir /b /s "*Bug Fix*.*"

The pair of double quotes keeps the search string as a single option.

 

Default STDIN Stream for Command - Keyboard

Manage Space in Command Name

Windows Command Syntax

⇑⇑ Windows Batch File Tutorials

2022-12-23, 2695🔥, 0💬