BAT Batch modification of file name extension methods _dos/bat

Source: Internet
Author: User

Sometimes we might come across, there are a lot of files in a folder, we need to modify the extension of these files, of course, we can change one by one, but if there are many files, it is very troublesome, so today I would like to teach you to batch modify the file extension method, I hope that we can use flexibility.

Let's say you want to change to. jpg The file with the extension. gif, so the following is the method:

1, first into the folder needs to change the extension of a new Notepad

2, in Notepad to enter the following content

Copy Code code as follows:
ren *.gif *.jpg

3, renamed the name of the Notepad extension to. bat

4. Double-click the Run BAT file to batch all the. gif files under the folder into. jpg

Description: Here is just an example, you can flexibly use Oh, we think about it, hehe.

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.