Skip to content

ThirteeNov

My personal blog about coding and internet

Menu
  • About me
  • About Zofia Kreasi
  • Cart
  • Checkout
  • Making an airplane game from scratch in Unity
  • My account
  • Privacy Policy
  • Privacy Policy – zkLeaderboard
  • Sample Page
  • Shop
  • Tutorials on Learning JavaScript
  • ZKAccounts – Privacy Policy
Menu

How to delete all .meta (or any extensions) files in your folder with single click

Posted on May 19, 2025May 19, 2025 by Habibie

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!

Post Views: 244
ciihuy2020

Welcome!

  • My YouTube Channel
  • My GitHub Page
  • About me

Categories

  • 3DVista
  • Android
  • Apache
  • C#
  • Cordova
  • Electron & Node JS
  • HTML5, CSS & JavaScript
  • iOS
  • Let's Make Unity Games
  • Misc
  • Photoshop
  • PHP
  • Python
  • Uncategorized
  • Unity
  • WordPress

Recent Posts

  • Make objects like wires and cables easily in Unity using Ciihuy Curved Mesh
  • [SOLVED] Can’t Add Custom Domain to Blogger After Losing CNAME Verification
  • iOS App Icon Generator by CiihuyCom
  • Advanced Blinking Marker Script to show objects position in your game canvas
  • Ciihuy Images Merger – Fast & Easy Online Image Combiner
© 2025 ThirteeNov | Powered by Superbs Personal Blog theme