J
jacobyv
hi
i've seen a few posts to this problem but didn't find a solution.
i want to open a document. it works fine if the path ist 8.3 format
compatible.
however, the example below does not work.
Runtime.getRuntime().exec("cmd.exe /c start c:\\temp\\long
filename.csv");
if i use the 8.3 dos format path it works.
Runtime.getRuntime().exec("cmd.exe /c start c:\\temp\\LONGFI~1.CSV");
how do i get the 8.3 format path in JAVA?
or is there another solution to open the file, without using the 8.3
format.
thanks a lot for your support.
greetings
yves
i've seen a few posts to this problem but didn't find a solution.
i want to open a document. it works fine if the path ist 8.3 format
compatible.
however, the example below does not work.
Runtime.getRuntime().exec("cmd.exe /c start c:\\temp\\long
filename.csv");
if i use the 8.3 dos format path it works.
Runtime.getRuntime().exec("cmd.exe /c start c:\\temp\\LONGFI~1.CSV");
how do i get the 8.3 format path in JAVA?
or is there another solution to open the file, without using the 8.3
format.
thanks a lot for your support.
greetings
yves