Posted 28 November 2015 - 05:22 AM
Hello fellow/pro that has stumbled upon this post!
I was wondering if there was any feasible way to take a variable (disk_), and merge a number onto it (disk_0). I know it could easily be hard coded, it would just take some time. But I want to see if you can run a loop for it. Say you have a database of disk drives, and you want to store a file in the drive that has the smallest number. You'd want to find a drive that has free space on it, and isn't empty. How in the heck would you do that?
I was wondering if there was any feasible way to take a variable (disk_), and merge a number onto it (disk_0). I know it could easily be hard coded, it would just take some time. But I want to see if you can run a loop for it. Say you have a database of disk drives, and you want to store a file in the drive that has the smallest number. You'd want to find a drive that has free space on it, and isn't empty. How in the heck would you do that?