Windows 7 Missing Shortnames
Posted
by Aaron Bush
on Stack Overflow
See other posts from Stack Overflow
or by Aaron Bush
Published on 2010-03-18T22:19:55Z
Indexed on
2010/03/18
22:21 UTC
Read the original article
Hit count: 194
I noticed that if you get a Scripting.File object from certain windows files (Example: any wav in C:\Windows\Media) the Scripting.File.ShortPath property shows the long path. Curious I dropped to the command prompt and tried Dir /A /X and sure enough the short paths were missing from all the files in that directory.
Anyone know:
A.) What that's all about?
B.) How to get the short path of a file that doesn't seem to have one?
© Stack Overflow or respective owner