Hello, I'm having trouble generating a timestamp in a windows batch file because I get diferent date formats on different windows versions.
My machine:
>echo %date%
>Tue 11/17/2009
Friends machine:
>echo %date%
>11/17/2009
I guess there has to be some way of getting the date (11/17/2009) from both strings using for /f, I've been trying and googling and can't find the answer.
Maybe there is another way to get a timestamp without using %date%.
Thanks in advance.