public static String getCurrentAbsolutPathWithoutDotAndSlash ( ) { final File currentAbsolutPath = new File ( "." ) ; return currentAbsolutPath . getAbsolutePath ( ) . substring ( 0 , currentAbsolutPath . getAbsolutePath ( ) . length ( ) - 2 ) ; }
Gets the current absolut path without the dot and slash .