💻 Software
Populating Array in DOS Batch Script
Fresh5 days ago
Mar 15, 2026162658 viewsConfidence Score0%
0%
Problem
How can I setup an array variable in a DOS batch script? I would like to load it with a list of file names to process. I really would like to keep this as simple as possible. Thank you.
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Populating Array in DOS Batch Script
Low Risk
I figured it out: I did something like this several years ago, so it just took some figuring out. (btw, I hate reinventing the wheel.) Now that it's posted here, hopefully others will find it useful too.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix