I have a folder E:\test\ with many subfolders: folder1, folder2, folder3
I have a list.txt file with text: folder2
Now, i want a script PowerShell to delete subfolder with filename in the list.txt file!
In this case, PowerShell will delete folder2
Many thanks!