How do you rename a file to include the datetime using the windows command line?
            Asked
            
        
        
            Active
            
        
            Viewed 2,205 times
        
    2
            
            
        - 
                    What do you mean by with date time? Do you want to update the timestamp? – Mitchel Sellers Oct 30 '08 at 20:14
- 
                    I'm guessing he wants to rename "file" to "file.20081030" or similar. – Bobby Jack Oct 30 '08 at 20:16
- 
                    or do you mean append the datetime to the filename? – Sam Hasler Oct 30 '08 at 20:16
- 
                    I do think it is programming related. There are more batch file / command shell question, this one is just a bit vague. – Toon Krijthe Oct 30 '08 at 20:20
- 
                    I attempted to clarify the question. Shashigupta, if I got it wrong let me know, and please try to be a little more clear in the future. – swilliams Oct 30 '08 at 20:24
2 Answers
5
            
            
        Here is a similar question:
How to get current datetime on Windows command line, in a suitable format for using in a filename?
Hope this helps.
 
     
     
     
    