Trying to follow the examples outlined here and here to ensure that the directory I'm putting my results reports in is always present for a given user.
new File(sampleFolder).mkdir();
Where sampleFolder is showing in the Eclipse debugger as "C:\Users\CurrentUser\workspace\Automation_Framework//Reports//output//TestCasesHtmlReports//"
and is populated from the variable definition
public static String sampleFolder = System.getProperty("user.dir") + "//Reports//output//TestCasesHtmlReports//";
However when I run the script the folder structure is NOT being created, any ideas what I'm doing wrong? Do I need to run Eclipse as an administrator?