Remove all files and sub-folders in a directory

Remove all files and sub-folders in a directory

This script shows, not only, how to remove files and folders while keeping the top folder via script, but also shows some basic ways and methods to validate user input and requirements in batch.