Windows 10: Is there a way to batch rename files?

Discus and support Is there a way to batch rename files? in Windows 10 Ask Insider to solve the problem; I have a file with pictures formatted as "A-B-C" and need to change all the dashes to underscore such as "A_B_C". Is there a way to do this as a batch... Discussion in 'Windows 10 Ask Insider' started by /u/gingernuts13, Sep 16, 2020 at 8:52 AM.

  1. Is there a way to batch rename files?


    I have a file with pictures formatted as "A-B-C" and need to change all the dashes to underscore such as "A_B_C". Is there a way to do this as a batch in the folder somehow?

    submitted by /u/gingernuts13
    [link] [comments]

    :)
     
    /u/gingernuts13, Sep 16, 2020 at 8:52 AM
    #1

  2. How to Batch Rename files ?

    I have a lot of files I want to give names to. I already found a way to get names into a text I need. So all these names i have in text, I want to give to other files.

    How do i do this in a batch process ?

    Currently trying to learn FastStone Image viewer. Seems to be updated version of Resizer by the same company?
    That has been useful for other batch processes for images . But I've yet to figure the batch naming options .

    A different software I'm considering for this task is called Advanced Renamer .

    Maybe I've become too slow through the years because :
    I've been looking for the right tutorial that I can clearly understand and found none .
    They seem to be out of my grasp .


    Note : I currently use a bat file, that takes the names of other files I have in a folder and puts them into a text file.

    ( I'd prefer a one click Bat process ideally for this specific task ) .

    So I'd be happy with a bat file that can also take those names in my text list
    and apply them to files I want to rename in any given folder with those . If anyone knew how to do that.

    It don't matter the order applied - as long as each file in the folder receives one name from the list.
    The names I pulled are from images in a folder. The names are to be applied to a equal number of files ,
    which is a different extension. so no worry about them having the same name. So just the names .




    - - - Updated - - -

    I found this thread. But unsure how to apply it and its replies into the bat i need ?

    stackoverflow rename-files-after-a-list-of-names




    Update possible reference
    for loop - Creating a batch file to rename TXT files based on content (removing inappropriate syntax) - Stack Overflow

    - - - Updated - - -

    and yet another reference i need help understanding if its useful
    windows - Generate file-folder list.txt file in a directory/subdirectory & rename list.txt to folder/subfolder name using dir & ren command in a batch file - Stack Overflow
     
    OtherWay1982, Sep 16, 2020 at 8:57 AM
    #2
  3. How to Batch Rename files ?

    I found a app called Advanced Renamer ( I mentioned this before ) .And there maybe a adequate solution here.

    This is the instructions for the process i want to learn. But I'm having a hard time finding these actions in the app.
    Could someone assist me with this app and doing this ?

    " "Add Source folder.
    Method/List
    Populate List/Yes
    Clear the file list (not the Method list) so no files selected
    Add Copy folder (List method is still active)
    Check New filename, start batch" "

    - - - Updated - - -

    I was able to implement those instructions I left there. Solved.
     
    OtherWay1982, Sep 16, 2020 at 8:57 AM
    #3
  4. Is there a way to batch rename files?

    How to Batch Rename files ?

    First, make a backup of the files. Bulk renaming can cause major problems so you will appreciate the backup if things go horribly wrong.

    Second, as you mentioned, there are programs to handle renaming for you. Check out: Introduction - Bulk Rename Utility

    Third, if you want to use a batch file (and you've completed step 1), try this from the command prompt:

    for /f "delims=" %v in (TextFileWithFilenamesToRename) do echo ren "%v" "%v_NewFilename"

    The previous command will show you the how the ren command will work without actually changing the filenames.
    Without knowing what the text file with the name of the files to rename looks like, you may have to tinker
    with the command to get it right.

    If everything looks good, you can perform the actual rename command by removing the echo command as in:
    for /f "delims=" %v in (TextFileWithFilenamesToRename) do ren "%v" "%v_NewFilename"

    Good luck
     
Thema:

Is there a way to batch rename files?

Loading...
  1. Is there a way to batch rename files? - Similar Threads - batch rename files

  2. Batch Rename Script Help!

    in Windows 10 Support
    Batch Rename Script Help!: Hello! I am very new to this and need a little help. I am trying to create a batch file that will rename files that are called png_X.png (the X being the number page it is). The code I have is below. It works fine with out the pipe sort command but it sorts the by the ones...
  3. Batch Rename in Powershell

    in Windows 10 Network and Sharing
    Batch Rename in Powershell: I'm trying to rename all the image files in a folder by appending a 1- in front of each file name using this command: Dir Rename-Item -NewName {$_.name -replace "IMG_*.*","1-IMG_*.*"} A typical file name is IMG_0001-Wolf.jpg. I get the following error message for each...
  4. Using variables with the rename command in a batch file

    in Windows 10 Network and Sharing
    Using variables with the rename command in a batch file: Hello, I am trying to use variables in renaming a robocopy log file but I continually receive a 'syntax error'. Everything works perfectly until I use the rename command. I am using the latest build of Windows 10. Any advice will be appreciated, thank you. The batch...
  5. Uniquely Renaming Large Batch of Files

    in Windows 10 Ask Insider
    Uniquely Renaming Large Batch of Files: Hello team. Looking to see if anyone has any pointers for my situation at work: I have 90 PDF files that need to be renamed, each of them having unique names that have to deal with a supplier and consignee pair. I have a list of all of the file names in an excel sheet and...
  6. How to Batch Rename files ?

    in Windows 10 Software and Apps
    How to Batch Rename files ?: I have a lot of files i want to give names to. I already found a way to get names into a text I need. So all these names i have in text, i want to give to other files. How do i do this in a batch process ? Currently trying to learn FastStone Image viewer. Seems to be...
  7. Simple way to rename a group of files?

    in Windows 10 Network and Sharing
    Simple way to rename a group of files?: like "rename *.mpr _*.mpr"[ATTACH], as I would have done in DOS-times without special software? https://answers.microsoft.com/en-us/windows/forum/all/simple-way-to-rename-a-group-of-files/228df2fd-94f8-4b5e-b7a1-8084a83284a8"
  8. Renaming Multiple File Extensions With a Batch File

    in Windows 10 Customization
    Renaming Multiple File Extensions With a Batch File: Hello, Pretty self explanatory question, but not turning up the results I need. If I use a command line window to change a bunch of file types, I can do the following: CD LocalDirectory\Is\Located\Here REN *.jpg *.tif This changes every file that has a JPG extension to...
  9. Any good Batch file renaming software / scripts

    in Windows 10 Support
    Any good Batch file renaming software / scripts: Hi there does anybody have any decent batch file renaming software or scripts. Here's a whole slew of music files from BBC Radio 3 -- what I want is after the word Breakfast in the title to insert date and time (european format YYMMDD.HHMM -24 hr format. Here's what...
  10. Batch Rename Deletes Files

    in Windows 10 Performance & Maintenance
    Batch Rename Deletes Files: Hey all, I just upgraded to Windows 10 last night, and I've been playing around with the new File Explorer. One thing I tried was the batch rename function (by which I mean just selecting multiple files and clicking "rename"). I quickly realized that it behaves differently...