Advertisement
dezindzer

Make folder with item name, and move item to that folder

Aug 30th, 2018
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.08 KB | None | 0 0
  1. @echo off
  2. for %%a in (*.*) do (
  3. md "%%~na" 2>nul
  4. move "%%a" "%%~na"
  5. )
  6. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement