title: Find folder name based on string value with batch
body: <p>I need to return a full directory name from inside a specified directory that contains .default in the folder name.
  Basically I'm adding a line in a backup script to backup firefox bookmarks, but the profile name is going to be different on every machine and I need a way to find the folder the bookmarks.html file resides without knowing the firefox profile name</p>
  
  <p>I've looked at FIND and FINDSTR but neither seem to be what I need. I also looked at this post: <a href="https://stackoverflow.com/questions/2252785/windows-batch-file-get-folders-path-and-store-them-in-variable">Windows batch file: get folders&#39; path and store them in variable</a>
  It was closer to what I'm looking for, but I just need a folder name, and to use something like regexp to find it</p>
  
  <p>Any suggestions on commands to look at or strategies to use?</p>