Java, convert Windows path to dos 8.3 format
Does anyone know of any java utility method that converts Windows paths to DOS 8.3 format? thank
+2
Tiberiu
source
to share
3 answers
Try this
+3
Asaph
source
to share
you can also use the GPL licensed Servertec Foundation Classes (SFC) which has stec.sfc.Win32.File :: getShortPathName () .
after all, parsing the output dir /X
might be the simplest solution.
+2
ax.
source
to share
AFAIK, there is no "method" for such a "conversion". Only you can do extract from filytame 8.3 file (if exists on filesystem).
+1
igustin
source
to share