07-23-2023, 10:22 AM
I am trying to come up with a batch file that will perform the following:
1. Ask the user to input a name. If no name was given, ask again.
2. Search all sub folders from a starting point (say C:\Temp) for that name.
3. If found, I then want to move that found folder and all it's contents to another directory.
4. If not found, let the user know it wasnt found and allow them to try again or the application.
I am not having much luck finding an example of such a script or bits and pieces of it even to put something together.
1. Ask the user to input a name. If no name was given, ask again.
2. Search all sub folders from a starting point (say C:\Temp) for that name.
3. If found, I then want to move that found folder and all it's contents to another directory.
4. If not found, let the user know it wasnt found and allow them to try again or the application.
I am not having much luck finding an example of such a script or bits and pieces of it even to put something together.