views:

22

answers:

1

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

A: 

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

aemme