Things You'll Need:
- Windows pc
-
Step 1
Open notepad
-
Step 2
Copy this text to notepad
FOR /F "tokens=1" %%A IN (C:\bin\todolist.txt) DO (copy %%A "\\backup\folder" ) -
Step 3
Replace "c:\bin\todolist.txt" with the path to the text file that you want the batch file to read from.
-
Step 4
Replace "copy" with the command you want to run. \\backup\folder is the destination folder I'm coping to so delete that depending on your command.
-
Step 5
Save your file as whatever.bat.










