I'm looking for the easiest way to add a prefix to every file I have.
The situation is that I have PDF files which are in several sub folders, which makes access difficult. But these sub folders belong to the same call reports.
What I'm looking to do is rename all files ending in .pdf and start with "". Each PDF file has unique names which are not easy to identify but if each one of them should start with this "".
I also noticed that there are several PDF files that start with "_" and others with a word.
I would need to add this prefix only in those that start from a-z or from 0-9.
How could I do this in powerShell, C # or some other method?
Thanks