Guest User

Untitled

a guest
Jan 19th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. FOR /R "C:UsersDummyDesktopUATSample" %%G in (.) DO (
  2. Pushd %%G
  3. Echo now in %%G
  4. echo before
  5. dir
  6. dir "*-01202018*"
  7.  
  8. REM ren *-01202018.txt *.txt
  9. REM ren ???-01202018.txt ???.txt
  10. REM rename 's/-01202018//' *
  11. REM rename "*-01202018*" "*/////////*"
  12.  
  13. echo after
  14. dir
  15. Popd )
  16. Echo "back home"
  17.  
  18. PAUSE
Add Comment
Please, Sign In to add comment