batch - append either date/time of creation or random to end of filename
Posted
by
Maclovin
on Stack Overflow
See other posts from Stack Overflow
or by Maclovin
Published on 2011-01-17T13:46:48Z
Indexed on
2011/01/17
21:53 UTC
Read the original article
Hit count: 184
Hi
Damsel in distress needing help with a batch-script.
I have a bunch of files that one system creates. Either in one of 2 directories, or in the directory above that.
The naming is apparently not very important, so It's a bit random.
2 questions for you batch-geniuses out there.
a) How can I append date/time of creation to the end of the filename with a batch-script? b) How can I append a random filename (so I make the files unique) with a batch-script?
Thanks in advance, dudes and dudettes.
Yours sincerely, the Maclovin!
© Stack Overflow or respective owner