How to change the last modified time on a folder or file in Windows 10 once in a while, a program will change the &quot;last modified&quot; date of a folder or file when you didn&#039;t want that to happen. (Microsoft Office often does this.)<br /> <br /> If you want to change the date of a folder or file, you can use the following Microsoft PowerShell script:<br /> <br /> <div class="bbcode code">$d = []&quot;C:\Stuff&quot; $d.LastWriteTime = &quot;8/1/2020 6:14 PM&quot;</div><br /> <br /> I&#039;m sharing this in case someone (perhaps myself!) finds this useful.1Sat, 01 Aug 2020 22:23:54 +0000Nite: handy command indeed. Especially if you didn&#039;t actually modify something.52Sat, 01 Aug 2020 22:47:36 +0000Wed, 28 Oct 2020 17:11:15 +0000