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