ok, well, it seems to be working now, but i dont understand what its doing, i enter in a string and it just stops

what i want it to do is create strings ranging from at least 1 char to 8 chars, using every possible combination and saving them all to a txt file, is this possible and how much hdd space would it take?