如何批量更改记事本文件时间
I like to use Notepad to make notes as I work. In July, I described how I type .LOG at the top of the Notepad file, so the date and time are automatically entered when the file opens.
我喜欢在工作时使用记事本做笔记。 在7月,我描述了如何在记事本文件顶部键入.LOG ,因此在打开文件时会自动输入日期和时间。
That's a handy feature, but I wanted to timestamp the files as I was working to, to record my start and stop times. There are date and time shortcuts in Excel and Access, but unfortunately those shortcuts don't work in Notepad.
这是一个方便的功能,但是我想在工作时为文件加上时间戳,以记录我的开始和结束时间。 Excel和Access中有日期和时间快捷方式 ,但是不幸的是,这些快捷方式在记事本中不起作用。
I obviously hadn't looked too hard, because today I found the shortcut that I've been looking for -- listed right there on the Edit menu in Notepad.
我显然看起来并没有太用力,因为今天我找到了我一直在寻找的快捷方式-列在记事本中“编辑”菜单上。
Now, if I want to insert the date and time, I press the F5 key, and it's automatically entered for me.
现在,如果要插入日期和时间,请按F5键,它会自动为我输入。
翻译自: https://contexturesblog.com/archives/2008/11/28/enter-the-time-in-a-notepad-file/
如何批量更改记事本文件时间