[英]How can I copy a file from fix source path to destination with a wildcard C:\temp\2021*
I want to copy a file from fix source to variable destination path using windows batch command as below: Source file: C:\temp\test.txt Destination path: C:\temp\2021* Destination folder path can be anything like this 20210510182538請幫助我,我該怎么做?
對於 /D %%G In ("C:\temp\*") DO 復制 /Y C:\temp\test.txt %%G
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.