Create a Smart Folder That Renames Files Automatically in Windows
🚀 Imagine dropping a file into a folder… and Windows instantly renames it automatically 🤯
In this video, I’ll show you how to create a Smart Folder in Windows that automatically renames files the moment you add them — using only PowerShell + Task Scheduler. No apps, no paid software, no coding experience needed.
✅ Automatically rename files
✅ Works on Windows 10 & 11
✅ 100% free built-in tools
✅ Perfect for downloads, backups, screenshots & workflows
Whether you're organizing your desktop, automating repetitive tasks, or just want to look like a tech wizard 😎 — this hidden Windows automation trick will save you time every single day.
🔥 What you’ll learn:
• How to create the smart folder
• The PowerShell script that renames files instantly
• How to automate everything with Task Scheduler
• Tips to customize file names your way
💬 Comment below: What other Windows automation tricks should I cover next?
👍 Like, Subscribe & turn on notifications for more hidden Windows tips, CMD tricks, PowerShell hacks, and productivity tutorials.
Script:
Simple Smart Rename Folder
$folder = "C:\SmartRename"
Watch folder
$watcher = New-Object System.IO.FileSystemWatcher
$watcher.Path = $folder
$watcher.EnableRaisingEvents = $true
Rename file when added
Register-ObjectEvent $watcher Created -Action {
Start-Sleep 1
$file = Get-Item $Event.SourceEventArgs.FullPath
$time = Get-Date -Format "yyyyMMdd_HHmmss"
Rename-Item $file.FullName "FILE_$time$($file.Extension)"
Write-Host "Renamed!"
}
Keep running
while ($true) { Start-Sleep 1 }
Program/Script: powershell.exe
Add arguments: -ExecutionPolicy Bypass -File "C:\Users\samak\OneDrive\Desktop\smartrename.ps1"