Problem on declare specific path for folder
posted 5 years ago
I am doing a project,i had created a folder in the project source folder and would like to make a file to write into this specific folder that i had created. But i don't to hardcode this specific foder's path and i have try some way to make this function work like 'String path =System.getProperty("user.dir") + "/src/<specific folder name>";' but it didn't work and pop up error message that said folder cannot be found. any help will be appreciated thank you.