Advertisement
Mysoft

Untitled

Dec 30th, 2016
553
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2.  
  3. cd /d %~dp0%
  4.  
  5. setlocal
  6.  
  7.   set SubFolder=test2
  8.  
  9.   for /d %%f in (%SubFolder%\*) do move "%%f" .
  10.   for /r %%f in (%SubFolder%\*) do move "%%f" .
  11.  
  12. endlocal
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement