|
-
August 21st, 2011, 03:02 AM
#1
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?
Last edited by nii000; August 26th, 2011 at 05:24 PM.
-
August 23rd, 2011, 09:02 AM
#2
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.
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
August 25th, 2011, 01:25 AM
#3
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.
-
August 25th, 2011, 02:09 PM
#4
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.
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
August 26th, 2011, 05:02 PM
#5
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%"
Last edited by nii000; August 26th, 2011 at 05:10 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|