I have main folder that contains "batch.bat" file and 1 subfolder named "Carrol". This "Carrol" subfolder contains many files with different types. I need to copy all txt files from "Carrol" subfolder to main folder with this "batch.bat" using commands of this "batch.bat" file
How can I do that?
内部batch.bat
for %%i in (Carrol\*txt) do move Carrol\%%i %~dp0
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.