以下的批处理的功能是新建一个你要求的文本,然后调用记事本来打开它。@echo offset fileName=%date:~0,4%%date:~5,2%%date:~8,2%.txtecho.>>%fileName%start %fileName%
@echo offcopy NUL %date:~0,4%%date:~5,2%%date:~8,2%.txt