List filesystem roots
This shows how to use the function in groovy.
new File("test").listRoots().each {
println it
}
On my Windows System it prints the following.
C:\ D:\ E:\ F:\
This shows how to use the function in groovy.
new File("test").listRoots().each {
println it
}
On my Windows System it prints the following.
C:\ D:\ E:\ F:\