I need a way of getting the time more accurately from my computes clock (preferably in milliseconds). Currently I can only get the time to the second using @sec I have noticed that cmd can give the time to the hundredth of a second (using echo %time%) I was thinking about calling it to get the time, but there is a bit of delay with this method. I am sure there is a simple way of doing this however I have not been able to find it.