使用lmod本身就是拐弯吧,借助三方软件的解决方法是willsort首创,原帖你可以搜索一下
下面是我修改后的批处理:echo set date=%4 >current.bat
echo.|date|find/i "current" >setdate.bat
call setdate.bat
del current.bat
del setdate.bat
Using lmod itself is a detour, and the solution using third-party software was pioneered by willsort. You can search for the original post.
The following is the batch script I modified:
echo set date=%4 >current.bat
echo.|date|find/i "current" >setdate.bat
call setdate.bat
del current.bat
del setdate.bat