Is there some way to randomly generate an arbitrary file path in Java?
What I've been thinking is that perhaps I could either pick one out of a pre-selected array, but that wouldn't be very random. Or I could start at C:\, pick a random number from 0 to the number of folders; if it's 0, I choose C:\, else I pick the folder corresponding to the random number. Rinse and repeat until it hits 0.
I don't feel like these are the best solutions, so any help would be appreciated.