When we share resources, we usually add a shortcut to the website access address and some instruction files in the folder. If there are too many resource folders to share, you need to open the folders one by one to paste files using manual copying, which is very troublesome and time-consuming. How to automatically copy files to subfolders, To save our precious time? This can be shared with Blueleaf Bat command , Use the bat command to automatically copy the specified file to the current folder and subfolders 。
Use the bat command to automatically copy the specified file to the current folder and subfolders , the method is simple. Create a new txt file in the folder to be operated, change the name to copy. bat, copy the code in, modify the file name to be copied, double-click to run the copy. bat file Automatically copy files to subfolders 。
@echo off TITLE=Automatically copy files to the current subfolder - Blueleaf Share LANYE ORG Set fn="Blueleaf. url" for /f "tokens=*" %%i in ('dir/s/b/ad') do copy %fn% "%%i" pause
Disclaimer:
Website: Click Copy to share with friends!
All content resources shared by this website, if not noted, are original by Blueleaf. If you need to reprint, please indicate the source; Please contact us in case of infringement Contact handling 。 Please understand!