How to batch modify file suffix names

Source: Internet
Author: User

Some students download a lot of documents or pictures, but it is possible that the file is not the normal software to read the suffix format, or the format is not easy to use. What about it?

For example, from the QQ space to save the picture is a CGI suffix format, the general software is not open. In fact, as long as the suffix renamed to JPG and other common format can be read. But there are too many files, one to modify it is too cumbersome, there is no easy way to all the suffixes of a one-time change to the desired format?

Yes, here's a way to tell you. First, put the files that need to be modified in the same folder, and then create a new TXT document. Enter key content in the document, such as now to convert the CGI suffix format file into a JPG suffix format file, then enter: Ren *.cgi *.jpg other divert. Then click the top left corner of Notepad to change the txt suffix name to bat, the following actions:

File → Save As → select "Save type" → select "All files" → then enter the filename in the File Name column. bat

Then double-click it, and then all the file suffixes in this folder are converted in batches successfully. And the applicability of this method is very strong, Ren *.cgi *.jpg cgi and JPG can be arbitrarily changed, so you can arbitrarily modify any file extension (suffix name, file format).

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.