title: Batch Scripting: Load One Directory Down Into Variable
body: <p>What I need to do is, without knowing the name of the directory, I need to load it into a variable so I can use it later in my script.</p>
  
  <p>There should only be one directory. Something like:</p>
  
  <pre><code>    \\[server]\[directory]\**[profile]**
  </code></pre>
  
  <p>Without knowing the name, I need to load "Profile" into a .bat variable.</p>
  
  <p>Thanks in advance!</p>