Use dir /X to see short name (usually first 6 characters - removing any spaces, plus ~ plus a number - starts with 1. So Peter Snow normally would be PETERS~1).
Like wbg34 noted, if your need is to use the pathname in a DOS batch file, just enclose it in double-quotes and you'll be all set.... I often have to use that method...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.