So it will copy to U:UsersJSmith5624Desktop but I would like to not have to know the numbers, but instead use a wildcard, so if the directory contains "JSmith" it copies to that one. If I use a % , such as JSmith%, it makes a new directory- U:UsersJSmithDesktop instead of copying the file to U:UsersJsmith5624Desktop
How can I use wildcards or maybe do an If/Then scenario, like IF directory contains "jsmith" THEN copy the file.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!