I am using wmic to get the time. I have narrowed this down to a one (1) line .bat file. I have learned from stackoverflow about piping stdin and stdout to avoid han
wmic
This works, there is no need for the type nul pipe.
wmic os get localdatetime | findstr .