Trying to add a zero before the varaible if it\'s less than 10 and create said directory. I can\'t seem to get the zero to add correctly. Keeps resulting in making 02.1.20
02.1.20
Your if/then statement is backwards. You are adding a 0 when it is a above 10, not adding one when it is below.
Another bug is that you make the cutoff strictly greater than 10, which does not include 10, even though 10 is two digits.