Do you know what is wrong here?
Pattern pathsPatter = Pattern.compile("\"([^\"]+)\"");
Matcher pathsMatcher = pathsPatter.matcher(commandAndParameters[1]);
I want to capture the group between " ". For example, if the string is
mv "C:\Users\" "D:\"
the matcher should capture:
C:\Users\
D:\