I\'m having trouble generating a timestamp in a Windows batch file, because I get diferent date formats on different Windows versions.
My machine:
&g
You don't need VBScript. You can do it with something like this:
echo %date:~-10,2%/%date:~-7,2%/%date:~-4,4%
Source