FG
💻 Software

How to input automatically in BATch file on DOS?

Fresh7 days ago
Mar 15, 202645778 views
Confidence Score0%
0%

Problem

I want to run a command that prompt for an argument, can I do a BATch file that run this command and then wait for a sec and "write" or "type" automatically (like a live person) the argument? Thanks.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to input automatically in BATch file on DOS?

Low Risk

If the command reads from stdin: If the command reads from the console specifically -- you cannot.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment