Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- cd /D "%~dp0"
- mkdir ~exe
- for /D %%d in (*) do (
- mkdir "~exe\%%~nxd"
- for %%e in (bat cmd com exe ex2 ex_ msi scr sys dll cpl js jse vbs vbe wsf wsc wsh hta chm jar pif) do (
- xcopy "%%~d\*.%%e" "~exe\%%~nxd" /s /i /q
- )
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement