How to convert 8.3 path into long file name?
I'd like to do this via batch, because it elimination compilation requirement, and is simple. Batch should always work, while vbscript might have issues (on my pc). So what's the best way to do this, considering the compilation and maintenance resources?
Re: How to how to convert 8.3 path into long file name?
From where are you getting these short names?
If you only have a list of short names, then there is no way to convert since you don't know what the 9th+ characters are going to be.
Re: How to how to convert 8.3 path into long file name?
I can do this by opening the path in explorer, so it automatically converts to a long path. However, I need a cmd line tool.
Re: How to how to convert 8.3 path into long file name?
So you're asking how to get the command line to give long format instead of short? Perhaps you should look at this.
Re: How to how to convert 8.3 path into long file name?
I read that, but it doesn't offer any relevant suggestions. Perhaps I ought to attempt to clarify my goal: to convert any given 8.3 path into long file name.
The batch could look like this:
Code:
set 8.3path=%1
... conversion code
echo "%long_path%"