Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7704935
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T23:47:26+00:00 2026-05-31T23:47:26+00:00

How can I use the Windows command line to change the extensions of thousands

  • 0

How can I use the Windows command line to change the extensions of thousands of files to *****.jpg?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T23:47:27+00:00Added an answer on May 31, 2026 at 11:47 pm

    You can use ren (as in rename):

    ren *.XXX *.YYY
    

    And of course, switch XXX and YYY for the appropriate extensions. It will change from XXX to YYY. If you want to change all extensions, just use the wildcard again:

    ren *.* *.YYY
    

    One way to make this work recursively is with the FOR command. It can be used with the /R option to recursively apply a command to matching files. For example:

    for /R %x in (*.txt) do ren "%x" *.renamed

    will change all .txt extensions to .renamed recursively, starting in the current directory.
    %x is the variable that holds the matched file names.

    And, since you have thousands of files, make sure to wait until the cursor starts blinking again indicating that it’s done working.

    Note: this works only on cmd. Won’t work on Powershell or Bash

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can I write to files using Python (on Windows) and use the Unix
From a terminal window: When I use the rm command it can only remove
I know on client side (javascript) you can use windows.location.hash but could not find
Is there any tools using which I can use to create Windows forms from
In a traditional Windows shell, I can use net helpmsg to get the string-based
Can I use shared memory on Windows in order to have a common memory
What windows C IDE can I use that will use gcc to compile and
Please any on tell me can i use Sqlite database in my Windows Phone
I have a Windows PC connected to my TV, but i can't use its
I want a simple command line tool running on Windows Xp(or even cross platform)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.