Linked Questions

Popular Questions

Batch File : Read File Names from a Directory and Store in Array

Asked by At

I'm creating a batch file in which I need to list all the text file name of the specified folder then store and retrieve the same from an array. Is it possible in Batch Files? My current code to list the test files is as below

 dir *.txt /b

any help is much appreciated.

Related Questions