:: @echo off
:: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: UnblockFile.Bat
:: Remove Security Zone.Identifier from all files in current and subfolders
:: TonchinkanOffice - https://www.tonchinkan.biz/
:: V1.0  2025/08/30 Primary Build
:: V1.1  2025/09/11 preface added
:: V1.2  2025/11/02 pause added
:: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
cd .
color F0
title UnblockFile V1.2
:: type %0
dir /S /R
prompt $G
PowerShell -Command "Get-ChildItem -Recurse | Unblock-File"
@echo Unblock-File finished.
pause
