How to get dinamic path in java : String s = "cmd /c " + GeneralMethods.getFilesPath()
				+ "mysql-5.6.26-winx64/bin/mysqldump -u root -password database_name>" + GeneralMethods.getFilesPath()
				+ "backup/backup.sql";



I dont want to static code
I want to chose dinamic path on java 
can someone help me? 