I receive a file from an external source on my PC each day with the name format:


I have a batch script which moves this file to a shared directory. However, my users can't automatically import the file into their database because of the dots in the filename. Is there a simple way to rename the file, keeping the .csv extension but replacing all the other dots in the filename with an underscore? My script runs on NT. Thanks in advance.