FG
💻 Software

How to run a batch file without launching a "command window"?

Fresh5 days ago
Mar 15, 2026587165 views
Confidence Score1%
1%

Problem

On Windows XP, can I run a batch (.bat or .cmd) file, via a shortcut, without a "black window"?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to run a batch file without launching a "command window"?

Low Risk

Save the following as wscript, for instance, hidecmd.vbs after replacing "testing.bat" with your batch file's name. The second parameter of is value indicating the appearance of the program's window and zero value is for hidden window. The reference is here http://msdn.microsoft.com/en-us/library/d5fk67ky.aspx

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment