Questions tagged [rename]

In computing, rename is to reassign the identifying value (or name) of an object, whether it be files, folders or other types of data.

Filter by
Sorted by
Tagged with
0 votes
1 answer
19 views

I broke my Kali desktop for a user after trying to rename them

The issue probably comes from the fact that I used pkill to allow me to rename the user. But anyway after logging back in as the user, my desktop had no menu / hotbar. Each time I login the terminal ...
user avatar
  • 1
0 votes
1 answer
38 views

How can I find original or past filenames if I did not created a security copy or a point of restoration?

I used a program for changing file names in a masive way, that program I used was "reNamer", but now I'd like to return all the original names because I believe I made an error when I tried ...
user avatar
  • 1
1 vote
0 answers
38 views

Replace 2 of 3 hyphens in a filename with SPACE hyphen SPACE in Powershell

I have been attempting to modify the following example given for a similar question in Powershell, to match my own needs. Running the example works fine. Please could you assist in how to change the ...
user avatar
  • 11
0 votes
3 answers
60 views

Batch Rename Files by Switching Two Parts of the Name

I'm new here and don't have any coding knowledge or experience or software, but I use Windows 10. I have LOTS of files named like:(1) 2020-03-12.mp3(7) 2021-04-10.mp4(6) 2022-08-25.docxetc.They're mp4,...
user avatar
1 vote
1 answer
63 views

How to batch rename Files, moving character to the end

Having previously used batch files to rename files with success, I thought this would be possible, but I just cannot get it to work for this case. I have the following files which I'd like to rename ...
user avatar
0 votes
1 answer
55 views

How can I remove the folder name from a filename?

I have a lot of files that have names of the format: [Folder name] [File name].txt that live in the correct folders - e.g: +- Folder 1 +- Folder 1 File 1.txt |- Folder 1 File 2.txt +- Folder ...
user avatar
  • 41k
0 votes
1 answer
107 views

How can I use Powershell to rename all files where the name has the format "digits [space] name with spaces" to "digits [hyphen] name with spaces"?

I have a lot of files with names of the format "digits [space] name with spaces" or "(digits) [space] name with spaces" e.g.: 23 Filename 23 with spaces.txt (47) Filename 47 with ...
user avatar
  • 41k
0 votes
0 answers
27 views

Is there a way to Name a specific Chrome Window on startup?

I would like to be able to open chrome, either by clicking on the chrome.exe or by clicking on a URL, and as a result, chrome would launch with a specific window name. I just want to have my chrome ...
user avatar
0 votes
2 answers
94 views

Rename command in dos

this is my first question here. I just revived an old pc to play dos games. I couldn't rename a folder, but I can rename files. Any idea why? Q2: How to see the full folder name in dir command? I see ...
user avatar
0 votes
1 answer
202 views

How to implement regex on a powershell find and replace to quickly change file names in windows 10?

Hi I have a set of files in a folder (windows 10) that are named something like this: asfdjlaksjfdi09908jfakl.part1.rar aabdjkhihsdjkf.part2.rar sdjklufia9798uiownlnsadkfasdFASDFrwe34342.part3.rar ... ...
user avatar
0 votes
2 answers
47 views

How to implement IF statement, in my online powershell command

I am running a powershell command in my batch file to remove brackets from foldernames, but it renames all folders in the path, and it gives me an error if the foldernames doesn't contain brackets. I ...
user avatar
2 votes
1 answer
40 views

Script to iterate on all utf8-based files and rename them based on content found [closed]

You may skip the following which is a preface that provides some context to what I am trying to do: I have a lot of files which are data points of a Nasa satellite (MERRA-2) of different cities. When ...
user avatar
0 votes
2 answers
98 views

"sendto" all selected files into a folder

I found this lovely time saving script which has helped me a lot. @echo off cd /D "%~dp1" md "%~n1" move %1 "%~dp1%~n1" Script found here Application that will move file ...
user avatar
  • 3
3 votes
1 answer
84 views

Moving renamed files to folders according to their extension

Windows 10 system - Powershell tool. I have 5 folders on my PC each containing 2 subfolders named images and json, each images subfolders has 3 png files numbered 1.png, 2.png and 3.png. The json ...
user avatar
  • 529
2 votes
1 answer
154 views

Get-childitem to sequentially rename files from different subfolders

Windows system using Powershell. I have 5 folders on my PC each containing 2 subfolders named images and json, each images subfolders has 3 png files numbered 1.png, 2.png and 3.png. The json ...
user avatar
  • 529
0 votes
1 answer
25 views

Enclose the year in parenthesis in a filename

I have a group of files in a folder that I want to rename; each file has a 4-digit year as part of the filename, I would like to enclose the years in parenthesis. "Ghostbusters 3 2016.avi" ...
user avatar
0 votes
2 answers
97 views

Move part of the filename to the front of the filename

I want to move a part of the filename to the front of the filename. All my files have a delimiter # in them, such as: 2585#xxxxx#4157.pdf. Now I want to move the part after the last # to the second ...
user avatar
  • 39
0 votes
1 answer
130 views

Rename files from different to same name with different extension

I have 12 folders with each containing two subfolders: "Images" & "Json". Now each "Images" folder has 10 image files named from 1.png to 10.png and each "Json&...
user avatar
1 vote
0 answers
28 views

Rename a file based on a selection list

I have to rename thousands of image files with a set of name list such as photos of products named as topview, topview1, topview2, etc., and sideview, sideview1, ..., sideviewn, backview, ...
user avatar
  • 11
0 votes
0 answers
41 views

How to remove a section of multiple file names?

I have many files with a wildcard section I'm having to manually remove and was wondering if there was a way to do it automatically, for example I would want to rename: Perfect Dark#43DDCBF0#2#0#...
user avatar
  • 1
0 votes
1 answer
194 views

rename all files within a directory and its subdirectories with batch script

I would like to rename the name and the extension of all files which are located in the a certain directories and its subdirectories to a random combination of 25 alphamuneric signs (letters and ...
user avatar
1 vote
2 answers
155 views

Change folder name with the name between ( ) with powershell

I have a folder structure and in all the folders there is a part between ( ). Like "folder example(12345)" Now I must rename all the folders with the name that is between ( ). So the result ...
user avatar
  • 39
0 votes
1 answer
20 views

Append Character to specific Part of name using Rename Command

I am stock on a question using the rename command. I am having a list of files which are named as followed : FT_440210.jpg FT_4302110.jpg I need to append "AGF" between FT_ and 440210. ...
user avatar
0 votes
0 answers
29 views

How to change usb microphone name

recently failed windows 10 update corrupted device name and few other parameters of my usb microphone. Because of that windows can't load it and gives code 10 in device status. Despite this, arch ...
user avatar
0 votes
2 answers
161 views

Rename Multiple Files without downloading additional software

Something went wrong with backup and recovery when I was resetting my laptop. Now I am left with all my files looking like this: I tried to re-add the drive as a recovery option through windows ...
user avatar
  • 47
0 votes
1 answer
128 views

Make The Folder Name The Same As The File Names

I have a directory structure as below: Folder > FileName1.abc > Filename2.abc > ............. Folder2 > FileName11.abc > Filename12.abc > .............. >...
user avatar
  • 3
0 votes
1 answer
144 views

rename by Inserting string in the middle of filename

I have initial file: CAR_001.dat I have 3 other files next to it: CAR_001_prev0.png CAR_001_prev1.png CAR_001_prev2.png I'm trying to rename these 3 files to: CAR_001_NEWSTRING_prev0.png ...
user avatar
0 votes
1 answer
129 views

How do I change the display name (or create script) of MSI App in Appwiz.cpl

Objective, How to create a script/command to change the unique product name of an application to display differently in appwiz.cpl Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products* I ...
user avatar
  • 1
0 votes
0 answers
78 views

File name continuously getting re-selected in Windows 10 when running OneDrive

I am having this weird problem. When I try to edit the name of any file via Windows Explorer, I see that the file name keeps getting selected and the focus goes away from what I am typing. For example,...
user avatar
  • 101
1 vote
1 answer
796 views

Microsoft 365 / Office 365 organization name change -- change names or set up new account?

Our business is going through a rebrand and we have been using Microsoft/Office 365 for 6+ years. As we approach the rebrand, I'm wondering how best to handle the 365 setup/migration. Would it make ...
user avatar
0 votes
1 answer
431 views

PowerShell script to move files in a new directory and rename them - how to avoid duplicate collision?

The situation is as follows. I have a folder where files are dumped on a daily basis (mostly PDF). I am trying to write a script that does the following: Go through all the files in the folder and ...
user avatar
-1 votes
1 answer
106 views

How do I access a file on Windows with an invalid filename?

I recovered a file using Recuva from (I believe) a FAT32 file system to an NTFS file system with Windows 10 installed. The file had a space in its name: The Grilling . In Windows, I know that ...
user avatar
  • 301
0 votes
0 answers
431 views

Is there a way to auto-rename files downloaded from websites, when navigating to a directory that already contains a file of that same name?

My work environment is Windows 10 Pro v21H1 (OS Build 19043.1110) running Chrome v92.0.4515.107 (Official Build) (64-bit). I am working on a large project which entails downloading assets, including ....
user avatar
  • 1
1 vote
2 answers
168 views

How to add a partial phrase to multiple file names at the same time in Windows Explorer?

I have files named 1.png, 2.png, 3.png, etc, going all the way up to 500 image files. I intend to put a word in front of the number, so the new file names would be alpha-1.png, alpha-2.png, alpha-3....
user avatar
  • 135
0 votes
1 answer
72 views

Batch rename files with multiple extensions

This has been driving me crazy for quite a while. I have files with multiple useless extensions in the filename. For example, batch-converting from MP4 to MP3 via command-line:- cd /d "%1" ...
user avatar
  • 1
0 votes
1 answer
85 views

What does rename() do when trying to move a file between directories on a samba mount?

The share is mounted with sudo mount -t cifs -o username=[username] //[ip_address]/[share] /mnt/[share]/ I am accessing rename() via Node: fs.renameSync('/mnt/[share]/file', '/mnt/[share]/folder/file')...
user avatar
1 vote
0 answers
25 views

Incremental renaming files in wget2

How I can rename files in incremental img001.jpg, img002.jpg,img003.jpg in below. i tried -o, as i am downloading multiple files from text files, the files gets truncated. -o is building a one large ...
user avatar
  • 340
0 votes
1 answer
720 views

PowerShell script to check the name format of all folders in a directory and create subfolders in each one

I have a Main folder which contains many folders with the name format: capital letter and four numbers (A4431). The script in PowerShell I am trying to write needs to go through all the folders in my ...
user avatar
1 vote
1 answer
136 views

How to rename multiple files by deleting a portion of the File name when the characters are not always the same

I was hoping someone might be able to guide me in what I wish to do. I have found a previous post that showed the following PowerShell statement that has worked wonders for me renaming some files I ...
user avatar
0 votes
2 answers
133 views

Using Windows rename to replace a single underscore with a double?

Can anyone advise me where I am going wrong with this? I have some file names that contain XXX XXX_Layer_XXX and I'm trying to replace to XXX XXX_Layer__XXX My attempt so far was: ren "*Layer_*.*...
user avatar
  • 111
3 votes
2 answers
1k views

How to rename my folder and any of its subfolders into lowercase using command prompt in Windows?

I have many folders and subfolders. They have random uppercase or lowercase letters in their names. I'd like to rename all of them into lowercase version. I see many answer here about renaming files ...
user avatar
  • 650
0 votes
0 answers
31 views

How to rename collection of pictures after adding new pictures between, including previous descriptions

For example, I have a bunch of pictures in a folder, named daddy_garden filename daddy_garden001.jpg daddy_garden002.jpg ... daddy_garden057.jpg daddy_garden058.jpg ... With my program 'Where ...
user avatar
  • 1
0 votes
1 answer
29 views

Using wildcards to do mass copying to slightly different names

I want to copy many files inside a single directory. An example filename starts with error042021.mysite and I want the new name end with -dev.co.at.txt. I think I need a wildcard for the number, ...
user avatar
-1 votes
4 answers
139 views

Batch file to multiple rename file name in a folder with a criteria for Windows 7

I use Windows 7 64 bit and I have a list of files with with the name of the file composed of author - album name - name of the song I need all the names of the files to become author - name of the ...
user avatar
0 votes
1 answer
159 views

Can git automatically rename files during clone/pull/commit?

We have a collection of scripts, which have, historically, had a different name-prefix depending on whether they are used in production or a lower environment. We're switching to git now, and would ...
user avatar
0 votes
4 answers
877 views

Batch identify and rename files with no extension

I have a folder of thousands of files in different formats but without any extensions. I know how to detect unknown file types using the tools such as TrID - File Identifier and DROID: file format ...
user avatar
  • 111
0 votes
2 answers
395 views

Batch rename multiple files by modification date

I got a bat script for rename files by their creation date but I need to adjust the code below to made to rename files by modification date. @echo off set Folder=%userprofile%\desktop\Images For /f &...
user avatar
0 votes
0 answers
83 views

How to rename using the CMD a folder opened in Explorer?

I need to rename through CMD a folder that has a subfolder open in Explorer. Folder/ <= I need to rename this folder. Subfolder/ <= It is open in explorer. files... But whenever ...
user avatar
0 votes
1 answer
150 views

How can I change the path name of a folder when it remains unchanged after renaming?

I am currently using a Windows 10 computer. The situation is like this: I copied and pasted a folder called "abc" in the same folder where it existed. After pasting, the folder name of the ...
user avatar
0 votes
1 answer
183 views

Files that Cannot be Renamed on Mac/Mojave

I have a number of image files that I cannot rename on my mac. Some files in the same directly can be renamed. Others cannot. I clearly have read/write access to the directory because I can rename ...
user avatar

1
2 3 4 5
13