Batch Renaming Files Tags: Script Error Windows 7 Last response: May 28, 2013 2:20 PM in Windows 7 Share jmartin1 May 23, 2013 7:00:22 AM I'm trying to create a batch script that can rename an INI file if the JPG with the same name minus 4 characters has the extra 4 characters in the full name from the JPG. If these files exists: Line_c2332-24248_01289A-169561_mabelvaleehvwhitebluffehv-115kv_104.jpg Line_c2332-24248_01289A-169562_mabelvaleehvwhitebluffehv-115kv.ini Then the INI file should be renamed to: Line_c2332-24248_01289A-169562_mabelvaleehvwhitebluffehv-115kv_104.ini The closest I've gotten is renaming all INI files in a directory. Any advice would be appreciated. More about : batch renaming files thently May 23, 2013 7:46:48 AM I could not find an exact answer but what you need to do is google "how to rename files with batch" go through these pages and steal the code and tinker with it a bit. jmartin1 May 23, 2013 9:29:51 AM thently said:I could not find an exact answer but what you need to do is google "how to rename files with batch" go through these pages and steal the code and tinker with it a bit. Thanks, found a work around in total commander Can't find your answer ? Ask ! Get the answer thently May 28, 2013 2:20:17 PM Awesome good luck. Can't find your answer ? Ask ! Publish Related resources Help for writing batch file to rename files in a folder in particular pattern. Forum Batch File Rename Forum batch renaming by date Forum Recommend free backup solution w/support moving/renaming files... Forum Running two batch files after one another? Forum SolvedImage Album (Visual) Reordering & Batch Rename Forum Can't open batch files Forum Bulk renaming files Forum Batch Files commands Forum Automating file renaming in Windows 7 - not a simple sequence Forum batch file will not copy needed files Forum Renaming multiple files in ascending order Forum Help renaming files from a list of other files? Forum Help with windows 7 deleting/ renaming/ moving files Forum Solvedopen batch file in windows 8 Forum SolvedBatch file net use Forum Solvedcommand prompt is showing 'command' is not recognized as operable program or batch file. Forum Run a Batch File Against All Files in a Folder Forum Batch File - Match images to Files, delete images when no matching file. Forum SolvedBatch File to copy directory with if statements Forum More resources Read discussions in other Windows 7 categories Configuration Customization Drivers Security Laptops !