简体   繁体   中英

Batch COPY command

Using a batch file, can I copy a file to another with the same name with an added sequentially increasing number such as COPY FILENAME FILENAM01, next time copying to FILENAM02 or any different identifying name, possible with date and/or time?

https://learn.microsoft.com/de-de/windows-server/administration/windows-commands/copy The first entry when you google "bat copy"

Batch script loop

Time:

%time:~-11,2%-%time:~-8,2%-%time:~-5,2%

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM