Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- File Name : file_list.txt
- "D:\xampp\htdocs\project1\routes\web.php","D:\xampp\htdocs\project2\routes\web.php"
- "D:\xampp\htdocs\project1\app\Models\Loan.php","D:\xampp\htdocs\project2\app\Models\Loan.php"
- "D:\xampp\htdocs\project1\app\Models\Asset.php","D:\xampp\htdocs\project2\app\Models\Asset.php"
- File Name : copy_files.bat
- @echo off
- rem Loop through file_list.txt and copy each file
- for /f "tokens=1,2 delims=," %%a in (file_list.txt) do (
- echo Copying %%~a to %%~b
- copy /Y %%~a %%~b
- )
- echo All files copied successfully!
- pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement