String path = "C:/Programfiles/hello/abc.txt"; String fileName = new File(path).getName();
Jump To Top of Thread