Questions tagged [batch-rename]

Batch renaming is a form of batch processing used to rename multiple computer files and folders.

Batch renaming is a form of batch processing used to rename multiple computer files and folders in an automated fashion, in order to save time and reduce the amount of work involved. Some sort of software is required to do this. Such software can be more or less advanced, but most have the same basic functions. Batch renaming software exists for most operating systems.

Reference: Wikipedia

924 questions
-2
votes
1 answer

Batch rename - remove parentheses and whitespace and have leading zero

so I know there are like a million similar questions (but sadly not quite the same, as always), but since I'm fairly new to Powershell and have real trouble with its syntax I hope someone is willing to help me out I already prepared the files I have…
SuperSpitter
  • 177
  • 2
  • 8
-2
votes
2 answers

shift file names with a batch file

Here is the file name format. The leading number is the layer and the second number is the material (3D printer). 01118_7.tif, 01118_6.tif, 01118_5.tif, 01118_4.tif, 01118_3.tif, 01118_2.tif, 01118_1.tif, 01118_0.tif What I need to do is shift…
-2
votes
1 answer

Renaming multiple files depending on current name

Bit of a speculative question, I have several files that need renaming each day. I'm wondering if it's possible to re-name them to the required spec automatically using a .bat or otherwise simple script. An example filename would be: OKS-SABB MT940 …
-2
votes
1 answer

Using Rename-Item to make numeric identifiers & names consistent

I have several thousand file names delimited as such: Last, First-000000-Title-MonYYYY.pdf Probem 1: Some files conform to the 6-digit convention while others need leading zeroes for consistency. Problem 2: Some names are entered with dashes…
-2
votes
1 answer

Keyboard inputs to application using batch script

Can any one help me to know how to give inputs to an application using batch script? Explanation: I have an application which enables logging when we press F1 key and disables logging when we press the Alt+L key from the keyboard. These key's only…
TejaGogineni
  • 25
  • 1
  • 2
  • 8
-2
votes
2 answers

Removing specific part of filename in Linux (what's after the second dash) for all files in folder

I use the command line utility youtube-dl to download videos from youtube and make mp3s from them with avconv. I'm doing this under Ubuntu 14.04 and very happy with it. The utility downloads the files and saves them with the following name…
Bodo
  • 115
  • 6
-2
votes
3 answers

How to rename multiple files at once by removing a varying part in the file name on Windows?

I have a windows folder having 500+ files with file names ending with the string " 203" Example: 1X 203.bmp 2X 203.bmp 1086 203.bmp 25G 203.bmp ... How can i bulk rename all files in this folder, removing the " 203" string from the file names?…
MK07
  • 1
  • 1
  • 1
  • 4
-2
votes
2 answers

How to keep GOTO :EOF but bypass it to finish the rest of the script?

Please look at this code below. It works but at the goto :EOF it stops the script and doesn't complete what is below it. Is there a work around? There of course is more to this script but the goto :EOF needs to be there in order for it to…
machiavelli
  • 92
  • 1
  • 1
  • 9
-3
votes
1 answer

Use rename to minus 199 from a batch of files

I have a folder of files named ts200.jpg, ts201.jpg, and so on. I need a program or command that will see the number, and minus 199 from the number, so ts200.jpg would become ts1.jpg, and so on. I installed PERL rename, but I cannot comprehend the…
-3
votes
2 answers

Rename all files in a directory by adding [a-z][1-9] in front of each file

I am having a problem with particular device where i transfer files to. This device is not capable of sorting files for use, it always uses ascending a-z sorting. That creates a problem where i need files to be "processed" by creation date…
Mevia
  • 1,517
  • 1
  • 16
  • 51
-3
votes
1 answer

Automate file replacement

I have a task to rename a file and place another file with same name in the same folder Like for e.g. a folder C:/test I have multiple files .txt (suppose test.txt is the one needed rename and replace) I want to rename test.txt to test_bkp%date% and…
Drewdak16
  • 9
  • 3
-3
votes
1 answer

Delete file from sub folder but want to exclude one sub folder-batch file

I have parent folder name parent, inside parent folder there are subfolder01, subfolder02 and default folders. Each folder contains one jar file with same name (abc.jar). I want to delete jar file from subfolder01 and subfolder02 not from default…
Sandeep
  • 47
  • 1
  • 7
-3
votes
1 answer

How to rename files using Windows command prompt with keeping first 6 characters and replace all others by fixed text?

I have a batch of PDF files in a folder and I am trying to rename them. Example: File1_20170501_data.pdf File2_20170401_statistics.pdf Sale2_20170404_Misc.pdf I only want to keep the first six characters of each file name (the five characters left…
Ka Li
  • 31
  • 1
  • 3
-3
votes
1 answer

Remove everything after delimiter in filenames via batch script

say I have a set of files, batch script, and subdirectories "Numbers" and "NoNumbers" in a "Files" directory in Windows, like so: updatefiles.bat Alpha.txt Alpha #306.txt Beta.txt Gamma.txt …
Hayward
  • 21
  • 5
-3
votes
2 answers

How can I bulk rename file after specific words?

For example test-123-abc.mp4 test-456-def.mp4 I want to remove all after _ or -. So the result should be: 123.mp4 456.mp4 Is it possible to use Windows cmd or a batch file, PowerShell to rename?
Enuma
  • 61
  • 1
  • 10
1 2 3
61
62