I've just tarted learning how to write batch files for the purpose of work. At the moment I'm trying to delete every folder in C:\Users\ that has .ICT in the foldername.
For example someone.ICT.
I tried running this simple script but it didn't work, guessing because it think .ICT is the extension.
rd /s "C:\Users\*.ICT\*.*"
As I said I'm new to this so if you know how to do this then please explain what each bit of the script does.