Windows批处理文件中的数字比较问题

时间:2017-10-20 00:21:24

标签: windows batch-file cmd

我正在尝试比较批处理文件中的两个数字。这是我的代码:

set filedate=201710191858
set newestdate=201710131108
if %filedate% gtr %newestdate% (
  echo bingo
)

为什么不把宾果写在这里?

0 个答案:

没有答案
相关问题