Hello. So here is what I need. I need a function that accepts a folder path like, "C:\users\myuser" and checks to see if that folder exists and if it does exist it needs to append a "1" to the end of 'myuser' and continue to check if the appended folder name exists until it finds a folder that does NOT exist and return that folder path. I may have "myuser1" and "myuser2" existing but "myuser3" is available. so i would need my function to return that path to my main function so it could create the folder and move on with it's other operations.
basically i have a main function that does a lot of operations and one part of the operation is to call a function that checks if a folder name is available for creation.
anyone help with that?