title: How to create a new folder?
body: <p>Or more specifically, how to create a new folder with a random name in scala?</p>
  
  <p>In Java the code was this:</p>
  
  <pre><code>  val folderPath: Path = Paths.get("src/test/resources/test-documents/")
    val tmpDir: Path = Files.createTempDirectory(folderPath, null)
  </code></pre>
  
  <p>thanks to all</p>