Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $targetfolder = "C:\foo\bar\nattebums"
- $files = gc C:\foo\bar\list.txt
- foreach ($file in $files)
- {write-host "Deleting $file" -forgroundcolor "Red"; Remove-Item $file | out-null}
- write-host "D O N E" -foregroundcolor "Red"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement