20 мая 2014 г. · You can pipe a Get-ChildItem command through a Where-Object filter that accepts a RegEx pattern, and then pipe that into Remove-Item. |
5 сент. 2010 г. · To recursively delete a folder with a specific name -Filter is significantly faster than -Include. So, for visibility, here is the faster version of @Keith's ... |
18 мая 2016 г. · To use this batch program, provide the file mask as an argument. If you do not give such, the current directory will be enumerated. The /P ... |
24 нояб. 2019 г. · I am trying to get my powershell script to only delete files of 1__ that are older than 60 mins while 0__ can be deleted every 360 mins. |
22 апр. 2022 г. · Use the -Exclude parameter, which allows you to specify an array of exclusion wildcard patterns - but see the caveats below. |
5 янв. 2017 г. · I am attempting to delete all directories, sub-directories, and the files contained in them based on a filter that specifies the required directory/sub- ... |
26 окт. 2011 г. · This worked for me: Remove-Item $folderPath -Force -Recurse -ErrorAction SilentlyContinue Thus the folder is removed with all files in there. |
19 сент. 2012 г. · I have a series of strings which are full paths to files. I'd like to save just the filename, without the file extension and the leading path. |
12 мар. 2016 г. · In Windows, del *.tmp will delete files with extensions that START with tmp. So del *.htm will delete all .htm AND all .html files. |
6 февр. 2020 г. · I am trying to use a process to automate the deletion of files from a folder and also child folders, I am trying to delete only files older than 7 days. |
Novbeti > |
Axtarisha Qayit Anarim.Az Anarim.Az Sayt Rehberliyi ile Elaqe Saytdan Istifade Qaydalari Anarim.Az 2004-2023 |