{"id":217339,"date":"2021-05-14T09:25:19","date_gmt":"2021-05-14T01:25:19","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=217339"},"modified":"2021-04-26T10:27:18","modified_gmt":"2021-04-26T02:27:18","slug":"windows-bat-for","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/windows-bat-for.html","title":{"rendered":"Windows bat\u811a\u672c\u4e4bfor\u5faa\u73af\u7528\u6cd5"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | \u8fd9\u7bc7\u6587\u7ae0\u4e3b\u8981\u4ecb\u7ecd\u4e86Windows bat\u811a\u672c\u4e4bfor\u5faa\u73af\u7528\u6cd5\u8be6\u89e3,\u672c\u6587\u7ed9\u5927\u5bb6\u4ecb\u7ecd\u7684\u975e\u5e38\u8be6\u7ec6\uff0c\u5bf9\u5927\u5bb6\u7684\u5b66\u4e60\u6216\u5de5\u4f5c\u5177\u6709\u4e00\u5b9a\u7684\u53c2\u8003\u501f\u9274\u4ef7\u503c<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n Windows bat\u811a\u672c\u7684for\u8bed\u53e5\u57fa\u672c\u5f62\u6001\u5982\u4e0b\uff1a<\/p>\n \r\n\u5728cmd\u7a97\u53e3\u4e2d\uff1afor %I in (command1) do command2 \r\n\u5728\u6279\u5904\u7406\u6587\u4ef6\u4e2d\uff1afor %%I in (command1) do command2\r\n<\/pre>\n
|