Renaming a filename
Posted on 2012-12-22
I have a program that generates bunch of files automatically. i don't have control on the base program. I need to be able to change the names of the files. Here is a sample.
tblEmployee.cs -> Employeedto.cs
tblDept.cs -> Deptdto.cs
I need to remove 'tbl' from the prefix and add 'dto' as the suffix before the file extension.
can someone please provide me the code for this renaming in MS DOC batch file?
Thanks a bunch,