I've got lots of files without file extensions or having wrong file extensions by using data recovery software like Recuva. I guess it is possible to write a simple batch file or a command line program to go through each and every file in a directory, identify each one's type and extension using TrID, and then assigning the most relevant file extension to the file until it has gone through every file in the directory.
Would you please help me with writing this simple program? I'm a newbie to programming.
Thank you.