Windows 10: How do i stop Windows 10 from using the same file name on different files when batch renaming?

Discus and support How do i stop Windows 10 from using the same file name on different files when batch renaming? in Windows 10 Network and Sharing to solve the problem; The title of my inquiry is self explanatory, im trying to rename some pictures in a folder so i just selected them all, renamed them, and while most of... Discussion in 'Windows 10 Network and Sharing' started by Eduardo Jose Fernandez, May 1, 2020.

  1. How do i stop Windows 10 from using the same file name on different files when batch renaming?


    The title of my inquiry is self explanatory, im trying to rename some pictures in a folder so i just selected them all, renamed them, and while most of them follow the sequence, others do not and use the exact same filename on two different images

    How is it even possible in the first place?How do i stop Windows 10 from using the same file name on different files when batch renaming? [​IMG]

    :)
     
    Eduardo Jose Fernandez, May 1, 2020
    #1
  2. Navje Win User

    Renaming a file into multiple different names

    Hi,

    I'll simplify question, I have one file that needs to be renamed and copied into multiple different names is there any batch in Windows 10 (OS build 18362.476) that I could use, I am also opened for any other suggestions?
     
    Navje, May 1, 2020
    #2
  3. 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, May 1, 2020
    #3
  4. das10 Win User

    How do i stop Windows 10 from using the same file name on different files when batch renaming?

    Renaming a file into multiple different names

    Until one of the Gurus posts a more elegant solution, you can try out the following simple batch file procedure.

    I presume you have a txt list file which contains nothing but the new names you want with only one new name per line;

    To illustrate, I made a separate test folder (to avoid messing any original files) L:\test which contains three files:

    1. B-45963.eps (COPY of original to be copied)
    2. multilist.txt (a text file containing the list of the renames)
    3. multicopy.bat (batch file to do the copying)

    contents of multilist.txt (only one rename per line) :

    alpha.eps
    beta.eps
    del.ta.eps
    gamm a.eps

    contents of multicopy.bat (note: don't forget to use use single and double quotes as shown):

    for /F "delims=" %%G in ('type "L:\test\multilist.txt"') DO copy "L:\test\B-45963.eps" "%%~G"
    pause

    results after running multicopy.bat in the folder,
    L:\test contains multiple renamed copies of the B-45963.eps files:

    B-45963.eps
    multilist.txt
    multicopy.bat
    alpha.eps
    beta.eps
    del.ta.eps
    gamm a.eps


    The safest approach in my view would be to do the copying in a separate test folder until you are satisfied with the outcome. Also, backups would be really helpful.
     
    das10, May 1, 2020
    #4
Thema:

How do i stop Windows 10 from using the same file name on different files when batch renaming?

Loading...
  1. How do i stop Windows 10 from using the same file name on different files when batch renaming? - Similar Threads - stop using same

  2. renaming batch files

    in Windows 10 Gaming
    renaming batch files: Hi,I have had to try and restore from windows file history but it adds a time stamp so my software cant locate the files due to the time stamp.so I have been using windows ppower shell to remove the date if its the same for each fileget-childitem *.png foreach { rename-item...
  3. Powertoys batch rename files: 'name' to initals

    in Windows 10 Gaming
    Powertoys batch rename files: 'name' to initals: Hi,I have a list of files that contain "Firstname Lastname". Is there a way to batch rename the files to "FL"?For example:"Donkey Kong Rewards Package 2023""Mario Kart Rewards Package 2023"etc.Can these be renamed through power rename to:"DK Rewards Package 2023""MK Rewards...
  4. Powertoys batch rename files: 'name' to initals

    in Windows 10 Software and Apps
    Powertoys batch rename files: 'name' to initals: Hi,I have a list of files that contain "Firstname Lastname". Is there a way to batch rename the files to "FL"?For example:"Donkey Kong Rewards Package 2023""Mario Kart Rewards Package 2023"etc.Can these be renamed through power rename to:"DK Rewards Package 2023""MK Rewards...
  5. batch rename files

    in Windows 10 Support
    batch rename files: hello, id like to remove characters in file names... using cmd, ive been able to remove "." (the dot) and replace it with a space and but hopefully keep the extention id like bou.bou.bou.txt to be renamed to bou bou bou.txt i tried : ren *.*.??? * *.??? obviously i want to...
  6. Rename files in batch.

    in Windows 10 Network and Sharing
    Rename files in batch.: Hi All.. I am having some files nearly 2000 in nos. in a particular folder. I just need to replace some portion. Is it possible that I can do it instantaneously.. if so please guide....Details are furnished below.Old file Name : P12478-12-71-41-1781-01.dwg...
  7. How to automatically rename files with same name when copying files

    in Windows 10 Support
    How to automatically rename files with same name when copying files: Hi, I would like to know if there is some registry hack or something that automatically renames files with the same name when copying or moving. For example you have folder with a file called banana.txt and then you copy another file called banana.txt to that folder and...
  8. Renaming files in batch causes duplicate names for different format files

    in Windows 10 Ask Insider
    Renaming files in batch causes duplicate names for different format files: Let's say I have a folder with 5 jpeg images and 5 png images, select them all, and rename them, to 'Photo', instead of going from 'Photo 1' to 'Photo 10', it names the png files up to 5 and then the jpeg files up to 5, meaning I end up with duplicate names such as 'Photo 5'...
  9. 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...
  10. File Explorer rename files with the same name when copying

    in Windows 10 Support
    File Explorer rename files with the same name when copying: Quite frankly I'm surprised no one has brought this up (or I am using the wrong search terms). When copying files in explorer, Windows 7 (I can't remember anything older than that LOL) I am asked what I want to do with copying files that have the same name as existing files...