title: Checking if a folder exists using a .bat file
body: <p>I would like to be able to check if a certain folder (FolderA) exists and if so, for a message to be displayed and then the batch file to be exited.  </p>
  
  <p>If FolderA does not exist, I would then like to check if another folder (FolderB) exists. If FolderB does not exist, a message should be displayed and the folder should be created, and if FolderB does exist, a message should be displayed saying so.  </p>
  
  <p>Does anybody have any idea on the code I could simply use on notepad to create a batch file to allow me to do this?</p>
  
  <p>All of this needs to be done in one <code>.bat</code> file.</p>