I'm trying to write a batch file for copying the content of a folder with path C:\ABC to another folder whose exact name is unknown (it's a Profile data folder of Firefox)
Profiles of Firefox are created in folder %APPDATA%\Mozilla\Firefox\Profiles\ & named randomly on creation by Firefox
with the first 8 characters followed by "." & then profile name we set
For example: tx1e6sq7.ABC or 3dnwu536.XYZ
I need to find out what's the full name of folder with profile name ending with ABC, so that I can copy the content to it
P.S. I also need to delete the current contents of that profile ending with ABC, before I copy new contents. Let me know the command for that if possible