# (CLI) Target All Ase.Files in the Folder

**URL:** https://community.aseprite.org/t/cli-target-all-ase-files-in-the-folder/21298
**Category:** Help
**Created:** [January 24, 2024, 11:41am UTC](https://community.aseprite.org/t/cli-target-all-ase-files-in-the-folder/21298 "2024-01-24T11:41:46Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Hepari00](https://community.aseprite.org/user_avatar/community.aseprite.org/hepari00/32/7526_2.png) [@Hepari00](https://community.aseprite.org/u/Hepari00)
#### Post date: [January 24, 2024, 11:41am UTC](https://community.aseprite.org/t/cli-target-all-ase-files-in-the-folder/21298/1 "2024-01-24T11:41:46Z")

</div>

Is there a way to target ‘any file with the .ase extension in the same folder as the batch file’ for CLI exporting?  
When you work with many files, thinking about their filenames becomes kinda a chore.

Here is my example, with \*.ase being the wildcard filename.

```auto
:: BATCH SCRIPT START
@ECHO OFF

@set ASEPRITE="C:\Program Files (x86)\Steam\steamapps\common\Aseprite\aseprite.exe"

%ASEPRITE% -b "*.ase" --ignore-empty --filename-format '{title}.{extnsion}' --save-as png/output.png

```

If there is no simple solution that ‘just works’, then I’ll stick to the old method. Thank you!
