簡體   English   中英

如何使用通配符 C:\temp\2021* 將文件從修復源路徑復制到目標

[英]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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM