Windows 7 file batch renaming without additional tools

Source: Internet
Author: User

A Sunday morning, still in bed when the phone woke up, was the university's best friend, only listen to the phone that the head said, "I bought a new computer sent, come to help me to tune under, lunch I tube." Look at the road is not far from the food to eat, reluctantly climbed up and wash and wash on the road. Rushed over there after a look, yo, once on the notebook to ignore the elder brother actually took the initiative to buy a notebook, "work to use, or notebook convenient." Yes, when you go to school to buy a computer is almost used to play games, desktop cost-effective and high-nature rarely choose notebooks, now have the economic ability and consider that may need to carry out, change notebook is also the logical.

Gossip skip, boot to see what needs to adjust, a look at the start screen, Win7 Home advanced version, the heart of a lot of worry, my friend is a long time XP party, it will not be a while let me help change XP it? So asked a sentence: you did not and manufacturers say system change XP? "Since half a year ago in the colleagues have played Win7, will no longer Miss XP, rest assured, will not want you to re-install the system." That would be good to do, rinsed the notebook preloaded with some of the software temporarily unused, and then according to his request to the need to install, and soon took care of.

A glance at the time has been over 12 points, is going to knock a friend for lunch, who knows he first said: Do a favor, put my old machine things turn around. Well, it's just a little more time to copy the data, just do it. Information about the end of the time, found that there is a folder stored a lot of pictures, almost thousands, the filename is also the length of the mixed, Chinese and English mix, a look will know is usually the right button saved. So many pictures, do not know in order to rename a bit, look at the chaos, just installed software when the time has not been able to batch rename the picture software installed, and then download and install one? No, not really, because Win7 can directly file a batch rename operation, and very simple.

Before renaming, we can reorder these files, personal suggestions according to the modified time from the old to the new to arrange, so that the future new saved pictures are also convenient to be named in order.

Right-click in the folder blank, select Sort by-Modify time, and then select Increment order.

Then press CTRL + A to select all the pictures in the folder, and then click the F2 key, at this time the first file name will become editable state, enter any one name, enter to determine all the files will be automatically changed to the same name + number of the form. Such as

Of course, some friends do not like to see the numbers on both sides of the brackets, but if a manual removal, dozens of files are barely enough, thousands of words ... What to do? There are problems on the Internet search! Soon found the processing method, paste the following code into a blank text file, and then the text file suffix txt changed to bat, put in the folder under the picture to double-click to run.

@Echo off&setlocal enabledelayedexpansion
For%%a in (*) do (
Set "Name=%%a"
Set "Name=!name: (=!")
Set "Name=!name:) =!"
ren "%%a" "!name!"
)
Exit

This code can help us remove the parentheses in the file name and the space on the left side of the parentheses (note that a command-line window is opened when the bat file is run and is automatically closed after completion). If you think the brackets are acceptable, you don't need to do this.

Finally, send a link and rename related tips, when you only modify a small number of files and do not need to name the time, the Smart tab can help you save a lot of clicks: After modifying the first file, do not press ENTER, but directly press TAB, You'll find that Win7 automatically helps you jump to the next file and put the file name in an editable state, and then press TAB to skip to the next one, and SHIFT + TAB to go back to the previous file.

Wiwindows 7 as a huge and complex operating system, hiding a lot of surprises, with a deeper understanding will find more tips, if you have any findings may be taken out to share with you.

Windows 7 file batch renaming without additional tools

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.