I have the following custom script defined in a build step that uses %time%:
This script line with %time% in works fine in a .cmd but when tried to use it on teamcity the agent requirements look like this:
It seems like TeamCity thinks that %time% (or derivations of anything with % around it) is an agent property rather than a batch script system variable. Is this a bug? Is there a way around it?