Add a file extension to all files in a directory

This code will add a file extension to every file in a given directory. Make sure you have given the directory appropriate permissions before running this code.

 

Share this Listing