Forum Discussion
andrew_laser
14 years agoOccasional Contributor
The only way I found was
sFullProjectPath = project.getPath() //Get full path to the project file (including file name)
sProjectDir = sFullProjectPath.replaceAll(/([^\\]+\.\w+)/, "") //remove file name from the string