# Select All Files and Run A Batch

**URL:** <https://forum.kirupa.com/t/select-all-files-and-run-a-batch/192404>\
**Category:** programming\
**Created:** [June 28, 2006, 11:33am UTC](https://forum.kirupa.com/t/select-all-files-and-run-a-batch/192404 "2006-06-28T11:33:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lacuna](https://avatars.discourse-cdn.com/v4/letter/l/edb3f5/32.png) [@Lacuna](https://forum.kirupa.com/u/Lacuna)\
**Post date:** [June 28, 2006, 11:33am UTC](https://forum.kirupa.com/t/select-all-files-and-run-a-batch/192404/1 "2006-06-28T11:33:22Z")

</div>

Hi,

I can’t figure out a way to have all of the .conf files in my folder used in a batch file.

On a daily basis, I need the batch file to find all of the .conf in a particular folder and run a perl script on them…I can set up the scheduled task however I’ve had to type in all of the .conf file names manually.

Does anyone know how to get a script to select all the files of a particular extention?

I would be very grateful!!

~ Lacuna :love:
