Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PS C:\temp\test> dir
- Directory: C:\temp\test
- Mode LastWriteTime Length Name
- ---- ------------- ------ ----
- -a--- 09/10/2015 13:31 0 a [b].txt
- PS C:\temp\test> foreach ($f in Get-ChildItem) { echo $f.FullName; Remove-Item -Path $f.FullName }
- C:\temp\test\a [b].txt
- PS C:\temp\test> dir
- Directory: C:\temp\test
- Mode LastWriteTime Length Name
- ---- ------------- ------ ----
- -a--- 09/10/2015 13:31 0 a [b].txt
- PS C:\temp\test>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement