Skip to content

December 18, 2017

Bulk Rename Files and File Extensions on Windows

by Criss Davis

Bulk/Batch rename files and file extensions on Windows using cmd.exe.

You have a folder full of saved pcap files however you forgot to add the file extension when you created your capture configuration. Open a cmd.exe and navigate to the folder. In this example the folder is located at C:\pcaps.

You want to add the extension .pcap to each file. Execute the following command.

C:\pcaps>ren *. *.pcap

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Note: HTML is allowed. Your email address will never be published.

Subscribe to comments

%d bloggers like this: