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

%d bloggers like this: