开发者

Assign to a file a progressive number according to time

There is a way to assign to a file, lets call it abc.txt, a progressive number, that I suppose should come from the time 开发者_开发知识库set?

So that the name of the file could become for example abc_5367879938763.txt


I have found the string set file=%time:~0,2%%time:~3,2%%time:~6,2%%time:~9,2%

that gives a string of 8 characters, for example: 17360720

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜