title: Windows batch - Convert Mapped Drive Path ( with spaces ) to short path
body: <p>I'm writing some code in windows batch and I have the following question:
  Is there a way to convert a mapped drive path that has spaces in it (eg: E:\test\some text\dir1) to a path that has no space? Or how to deal with paths that have spaces in them?
  PS : double quotes won't do the trick either.</p>
  
  <p>The space in the paths are currently messing up my batch script.</p>