Rename a file with current date and time as file name
Results 1 to 2 of 2

Thread: Rename a file with current date and time as file name

  1. #1
    Registered User
    Join Date
    Jul 2006
    Posts
    1

    Rename a file with current date and time as file name

    I need a BAT file or a utility can replace a file name based on the date and time? For example if I have a file called C:\test\myfile.txt I need this to be renamed as C:\test\090720061051.txt (09/07/06 is date and 10:51 is time)

    Can you please help me?

  2. #2
    Registered User Gabriel's Avatar
    Join Date
    Aug 2000
    Location
    Tel Aviv Israel
    Posts
    2,161
    Hello smartcard and welcome to WD forums
    I know of a way to do this in Windows - GUI using Total commander (I will think of a way to do in command line and let you know).
    In total commander -> file > Multy rename tool
    You have the option to set file name by many options including Date/time

    Again - I will think of a way to put it on a command line

    Cheers,
    Gabriel

Similar Threads

  1. SoundMAX problem..could SOME1 help me plz
    By aae55555 in forum Sound Card Drivers
    Replies: 10
    Last Post: June 15th, 2006, 04:09 PM
  2. Date and time won't set
    By Kodiak in forum Tech-To-Tech
    Replies: 3
    Last Post: December 6th, 2005, 06:09 AM
  3. what's wrong with my IE.6?
    By diling in forum Windows 95/98/98SE/ME
    Replies: 4
    Last Post: July 10th, 2004, 06:05 AM
  4. Help Win ME errors
    By riasat3 in forum Windows 95/98/98SE/ME
    Replies: 1
    Last Post: August 17th, 2001, 08:18 AM
  5. [RESOLVED] Losing Time
    By conquest484 in forum Tech-To-Tech
    Replies: 4
    Last Post: March 20th, 2000, 08:04 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •