Advertisement
Guest User

Untitled

a guest
Jun 20th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. REM The goal of this batch file is to backup all text documents in directory and sub-directories into a flat file structure
  2.  
  3. echo %CD%
  4.     for /D %%d in (*) do (
  5.     FORFILES -P "%%d" -s -M *.txt -c "cmd /c copy @path H:\"todays backup"\text\"
  6.     )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement