todo cache.cmd: Avoid the use of type command via usebackq option.