Created
July 28, 2014 20:41
-
-
Save RoLYroLLs/eb141f003c339e824b09 to your computer and use it in GitHub Desktop.
Script to find files and folders which contain any uppercase character.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set folder="C:\" | |
for /f "delims=" %%A in ( ' dir /b %folder% ^| findstr /R "[ABCDEFGHIJKLMNOPQRSTUVWXYZ]" ' ) do ( | |
echo path: %%~dpnxA | |
echo name: %%~nxA | |
echo. | |
) | |
echo "Done!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment