Notepad can also be renamed in bulk

Source: Internet
Author: User

If downloaded from the Internet a large number of file names do not have regular JPG screen saver images, we would like to quickly name these files named with an arbitrary sequence of digital sequences, without installing the batch renaming tool, with Notepad can be achieved.

Use Notepad to create a text file, such as MAKELIST.TXT, in a directory with the same name as the file, with the following line (Figure 1):

Dir *. Jpg/b >filelist. Txt

Change the extension of this file to bat.

Double-click the file Makelist.bat in Explorer so you can generate a text file in the same directory as the picture FILELIST.TXT, which contains a list of names of all JPG images (Figure 2).

Open the FILELIST.TXT file with Notepad, using the copy and paste method to precede each picture filename with Ren plus a half-width space, followed by the "ordinal." JPG ", where the serial number starts with 001 (Figure 3). The processed lines are in the following form:

ren ibm.jpg 001.jpg

ren BM (4). jpg 002.jpg

......

After all processing has been completed, the FILELIST.TXT renamed to Filelist.bat. Double-click Filelist.bat, all files can be renamed to 001.JPG, 002.JPG ... 010.JPG sequence files (Figure 4).

In this way, any starting number and any increment differential sequence can be implemented. The core command is only Dir and ren two simple words, by modifying the contents of the FILELIST.TXT file, the renaming work becomes the editing text operation, thus can improve the efficiency. If you use Word or an editor with mass substitution, you can change your name more efficiently, but be aware that the save format must be in TXT format

Notepad can also be renamed in bulk

Related Article

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.