2

Is there a way to add a date stamp to a file name when saving/renaming it via the Windows dialog box (Windows Explorer, etc.) - either as a shortcut key or a variable. There are many files that I save with date stamps and it's becoming really annoying having to type in the YYYYMMDD each time.

1
  • This should be possible with relatively simple PowerShell script.
    – Ramhound
    Nov 9, 2015 at 17:24

1 Answer 1

2

Not natively to Windows, you'll need an add-on program of some kind.

One way would be to use AutoHotKey (or alike) to create a macro that will type in the date for you (in your desired format).

Example AHK script:

^#D::
FormatTime, CurrentDateTime,, yyyyMMdd
SendInput %CurrentDateTime%
return

This will type the date in (i.e. for today: 20151109) whenever you hit Ctrl+Win+d

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .