scripting

Automatically Attach Current Timestamp to File Name

I recently needed to attach current timestamp to the names of some files. Following was the batch script I came up with to perform the task. @echo off set timestamp=%date:~10,4%%date... ren %1 %timestamp%%1 @echo on //TODO: Option to rename all files in a directory //TODO: Option to read file names to be renamed from a text file...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati