Windows 10: Batch Rename Script Help!

Discus and support Batch Rename Script Help! in Windows 10 Support to solve the problem; 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... Discussion in 'Windows 10 Support' started by Exal, May 11, 2020.

  1. Exal Win User

    Batch Rename Script Help!


    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 place first and then by the tens. I tried putting the pipe sort command in to tell it how to see the file names but it doesn’t run at all with that command. Is my line wrong somehow with the pipe command?

    @Echo off
    set i=1
    cd C:\Users\Desktop\Visio Stuff\File Rename\Temp Picture File
    for /f %%f in ('dir /b .\ | sort /+10') do (
    echo renaming "%%f" to "!i!.jpg"
    ren "%%f" "!i!.jpg"
    set /A i=!i!+1
    set "i="

  2. ARC1020 Win User

    Any good Batch file renaming software / scripts

    I assume you still have Photoshop CS6 installed? If so you could try using the Batch Rename tool in Adobe Bridge as firstly you already have it installed and secondly it's a pretty good Batch Rename tool.

    Bridge > Tools > Batch Rename

    These screenshots are from CS4, so they may be slightly different to yours in CS6. Also, I don't have any M4a files to try it with. The other thing you may need to experiment with is whether to use 'Date Modified' or 'Date Created' depending on the dates on the files. You can manually add dates by using a text field rather than a date field, but using date fields would obviously be better.

    Batch Rename Script Help! [​IMG]

    Batch Rename Script Help! [​IMG]
    ARC1020, May 11, 2020
  3. jimbo45 Win User
    Any good Batch file renaming software / scripts

    Hi there

    never thought of that one -- Brilliant --worked fine

    jimbo45, May 11, 2020
  4. Julivgar Win User

    Batch Rename Script Help!

    Netfix Batch Script- Fix internet connection

    Somebody please try my batch script Netfix and leave feedback so I can improve it. thank you!

    My goal is to make a troubleshooter to help the built in "Windows Network Diagnostics" fix internet connection problems. How can you help?

    1. Download/copy the code on notepad then save as "Netfix.bat" or "Netfix.cmd"

    2. Test the Batch script

    3. Provide feedback and/or suggestions

    Thank you!
    Julivgar, May 11, 2020

Batch Rename Script Help!

  1. Batch Rename Script Help! - Similar Threads - Batch Rename Script

  2. Batch Scripts / Programs.

    in Windows 10 Performance & Maintenance
    Batch Scripts / Programs.: The members and quests who use this forum know how professional, informative and helpful it is! In order to help members solve their problems/issues we often ask them to run certain programs and perform certain tasks and then upload [ post ] the results to the forum for us...
  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 {$ -replace "IMG_*.*","1-IMG_*.*"} A typical file name is IMG_0001-Wolf.jpg. I get the following error message for each...
  4. Batch scripting problems

    in Windows 10 Ask Insider
    Batch scripting problems: So i found a bug. In batch scripting, I can only store 3 variables. I don't know the cause for this. Here's the code, if you need it. @ echo off title Elevator OS by Lackmey on YouTube and Reddit set gdata=No data found (this one works) set 1data=No data found (this one...
  5. 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...
  6. Automatically Run Batch Script

    in Windows 10 Installation and Upgrade
    Automatically Run Batch Script: Hi everyone When the windows installation is finished, automatically run batch script. How can I do that? Thanks *Wink 122531
  7. Help needed writing batch script!

    in Windows 10 Support
    Help needed writing batch script!: Firstly thank you for even clicking on this thread as I understand that this probably isn't meant to be here. The scenario is that I'm trying to write a script that incorporates the result of a ping to an IP and then based on the result do different things. Here is an...
  8. 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...
  9. 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...
  10. Batch script question

    in Windows 10 Support
    Batch script question: Hello, I want make a batch script to delete a spefic folder on the C disk, but how can I get only that spefic folder? I got this: Code: FOR /D %%p IN ("C:\USERS\%USERNAME%\Downloads\*.*") DO rmdir "%%p" /s /q cd C:\USERS\%USERNAME%\Downloads\ del *.* /q /s timeout /t 5...

Users found this page by searching for:

  1. windows batch file to rename file with timestamp