FG
💻 Software

How can I enter 2 commands on Windows command line?

Fresh5 days ago
Mar 15, 202614280 views
Confidence Score0%
0%

Problem

In the DOS command line, I used to be able to enter ¶ between commands to put multiple commands on one line. For example, instead of typing I could enter Has this functionality been removed or has this been replaced by something else? How can I run multiple commands from one line?

Error Output

c:\> cls
c:\> cd

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I enter 2 commands on Windows command line?

Low Risk

Use . From the documentation: : Use to separate multiple commands on one command line. Cmd.exe runs the first command, and then the second command. : Use to run the command following && only if the command preceding the symbol is successful. Cmd.exe…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment