title: Check if the current folder is the root directory
body: <p>I'm currently writing a batch file which starts from a specific directory - let's say <code>C:\FirstFolder\SecondFolder\ThirdFolder\</code> - and should perform a task in each of this folders, then go up one folder until it has reached the root directory (<code>C:\</code>). </p>
  
  <p>The problem here is that the drive we are working on doesn't have to be <code>C:\</code>, it could be any drive letter, so I cannot just check if <code>%cd%</code> equals <code>C:\</code> to tell the program to stop going through every directory.</p>
  
  <p>Can anyone help with this?</p>