I have a Backup folder called cod5profiles with over 500 folders in it.
Each of the folders should only have 1 folder in it called $$$, contaning data i need to keep, there is also a text file called active.txt and a file called myreg.key in the backup folder too (not in the $$$ folder)
Due to a mistake on my part many of the folders now have copies of the other 300 folders in them.
Could someone help me with a batch file that will clean out the folders, ie remove any folders that are not called $$$ in each backup folder.
All the backup folders have diferent names but end in cod5, eg:
any help would be wonderful