Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1689

Set file time (hour & minute) to a variable

$
0
0
Hello
How to set file time (hour & minute) to a variable ?

I have a piece of complicated code in the bat file. Probably that was because there was no easy way in command.com to find time (hour & minute) of a file as Windows tend to show it in current language, etc. The code would rename existing file name from 200122.doc (i.e. named as per current date) to 200122-1736.doc (i.e. current date-hour&minute).

Now the relevant bat file is called from another btm file and very often (but not...

Read more

Viewing all articles
Browse latest Browse all 1689

Trending Articles