Tuesday 9 July 2013

Rename a File by current Date and Time

Hi Friends

yesterday, I had take backup of my *.pst file successes fully, but i want rename this file with current system date and time.

so I use below step and i done successfully rename file with current system date and time.



Step-1: Run > type > cmd > enter

Step-2: REN "filename" "*%Date:/= % %Time::=.%.*"file extention

Example :  
c:\>REN  "d:\ab.txt"  "*%Date:/= %  %Time::=.%.*"txt 


 

No comments:

Post a Comment