Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- setlocal EnableDelayedExpansion
- for %%a in ( A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9 0 ) do (
- for %%b in ( A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9 0 ) do (
- for %%c in ( A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9 0 ) do (
- set file=%%a%%b%%c
- if EXIST !file! (
- mkdir x\!file! 2>nul
- if ERRORLEVEL 0 (
- echo !file!
- ) else (
- del !file! 2>nul
- )
- )
- for %%d in ( A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9 0 ) do (
- set file=%%a%%b%%c%%d
- if EXIST !file! (
- mkdir x\!file! 2>nul
- if ERRORLEVEL 0 (
- echo !file!
- ) else (
- del !file! 2>nul
- )
- )
- )
- )
- )
- )
- endlocal
Advertisement
Add Comment
Please, Sign In to add comment