It had been a while, many years actually, since I needed the Windows equivalent of “touch
“. You don’t know that command? All it does is change to modification date and time of a file (or a series of files) to the current date and time of the computer. I used to turn to the Cygwin toolkit to get things done, in the days when corporate Windows PC’s weren’t so closed off and you could install your own tools.
Luckily for me there is an equivalent in Windows, on the command line. You can use this somewhat strange command to get the same result:
copy /b filename.ext +,,
Yes, that’s a plus sign followed by two commas at the end. I’m writing it up here because I know I won’t remember that correctly in a few days!