Solved Changing File Names

Islanderuk

Member
Member
Messages
21
Location
West Mersea UK
I have a directory in which I have a large number of genealogical records, 756 to be exact. The files are numbered FIN_1881_001_001 to FIN_1881_001_756.

Due to an error when saving these files, I need to change these 756 file numbers to FIN_1891_001_001 to FIN_1891_001_756.

Is there any easy way of doing this without having to change each file name individually.

Thanks in advance
 

My Computer

System One

  • OS
    Windows 8
    System Manufacturer/Model
    Toshiba

Attachments

  • BRU.PNG
    BRU.PNG
    20.9 KB · Views: 94

My Computer

System One

  • OS
    Windows 10 Pro Prieview x64
    Computer type
    Laptop
    System Manufacturer/Model
    MacBook Pro Core2Duo
    CPU
    T7600
    Memory
    3
    Graphics Card(s)
    ATI Radeon X1600
    Monitor(s) Displays
    Internal
    Screen Resolution
    1440 x 800
    Hard Drives
    40GB
    Keyboard
    Apple
    Mouse
    Apple
    Internet Speed
    Varies
    Browser
    Various
    Antivirus
    Defender
Are these the only files with names starting "FIN_1881_001_xxx"?

If, for instance, you have FIN_1881_001_757.txt which you don't want to rename, then the following won't work.

For safety's sake I would copy the files into a new folder before trying the following, in case it picks up files you don't expect.

The old-fashioned MSDOS command prompt method is this.

The effect is to rename all files that have a name of FIN_1881_001_xyz.txt to FIN_1891_001_xyz.txt

  • Navigate to the folder containing the files in a normal File Explorer window.
  • Click on the folder with a Shift-Right-Click (that is, hold down the Shift key as you right-click with the mouse). This should bring up a context menu including the option "Open Command Window Here".
  • Select "Open Command Window Here"
  • Type the following command and press return:
    Code:
    ren FIN_1881_001_???.txt FIN_1891_001_???.txt
    You can also copy this text with Ctrl-C and then click the top left corner of the command prompt window to bring up Edit | Paste option to paste it in.
  • Type "Exit" and press return to close the command prompt.
 

My Computer

System One

  • OS
    Windows 8.1, 10

My Computer

System One

  • OS
    Windows 8.1 Pro
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Home made
    CPU
    AMD Ryzen7 2700x
    Motherboard
    Asus Prime x470 Pro
    Memory
    16GB Kingston 3600
    Graphics Card(s)
    Asus strix 570 OC 4gb
    Hard Drives
    Samsung 960 evo 250GB
    Silicon Power V70 240GB SSD
    WD 1 TB Blue
    WD 2 TB Blue
    Bunch of backup HDDs.
    PSU
    Sharkoon, Silent Storm 660W
    Case
    Raidmax
    Cooling
    CCM Nepton 140xl
    Internet Speed
    40/2 Mbps
    Browser
    Firefox
    Antivirus
    WD
Back
Top