In my case, I was copying some files from my Unity project and there are .meta files for any files I have. And to remove such .meta files, I can use this .bat script:
@echo off
title Delete .meta Files Recursively
color 0A
echo **********************************************
echo *   Deleting all .meta files recursively     *
echo *   in current directory and subfolders      *
echo **********************************************
echo.
set /p confirm=Are you sure you want to delete all .meta files? [Y/N]: 
if /i "%confirm%" neq "Y" (
    echo Operation cancelled.
    pause
    exit /b
)
echo Searching for .meta files...
echo.
del /s /q *.meta
if errorlevel 1 (
    echo No .meta files found or error occurred.
) else (
    echo All .meta files have been deleted successfully.
)
echo.
echo Operation complete.
pause
You can replace .meta in that script to anything you want. To use the script, open notepad, paste the script, and save it with .bat extension. Place it in a folder you want to delete .meta files inside it, then double click to run. Viola!