I'm running a Batch script on a German Win7 environment with the following variable:
%date%_%time:~0,2%-%time:~3,2%-%time:~6,2%
This script works quite well from 10:00 until 23:59. Between 0:00 and 9:59 i get a Syntax error (I suppose because the time has only one digit before the ":")
Can someone help me with this?
Thx!