简体   繁体   English

批处理文件以递归方式查找名为特定名称的文件并移至目录

[英]Batch file to recursively find files named a specific name and move to a directory

So, I was hit with the Cryptowall 3.0 ransomware virus. 因此,我遭受了Cryptowall 3.0勒索软件病毒的袭击。 After decryption I am still left with a large amount of DECRYPT_HELP files in .txt, .html, .png and Windows Shortcut formats. 解密后,我仍然剩下大量的.txt,.html,.png和Windows快捷方式格式的DECRYPT_HELP文件。

I need a batch script to recursively find the files containing the name "DECRYPT_HELP" regardless of its' extension and move those files into a directory which I will delete. 我需要一个批处理脚本来递归地查找包含名称“ DECRYPT_HELP”的文件,而不管其扩展名如何,然后将这些文件移到要删除的目录中。

I am a Linux guy, so I can't FIND and GREP my way through this. 我是Linux专家,所以我无法通过这种方式查找和GREP。 Any assistance would be appreciated. 任何援助将不胜感激。

You can find the files using 您可以使用以下文件查找文件

dir /s *decrypt_help*

dangerous command follows 遵循危险的命令

del /s *decrypt_help*

will delete all of those files. 将删除所有这些文件。 use with extreme caution 谨慎使用

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 批处理文件可将文件从更深的子目录递归移动到第一级目录 - Batch file to recursively move files to first level directory from deeper subdirectories 批处理文件移动特定文件 - Batch file move specific files 批处理文件以递归方式查找文件并将其rar - Batch file recursively find files and rar them 批处理文件查找目录中的文件 - Batch file to find files in a directory 批处理文件根据文件名创建目录,将类似文件移动到新目录 - batch file to create directory based on file name, move like files to new directory 批处理文件以递归方式复制/重命名目录并查找/替换文件内容 - Batch file to copy/rename directory recursively and find/replace file contents 将文本文件中命名的文件批量移动到文本文件提供的目录中 - Batch move files named in a text file to directories provided by text file 创建一个批处理 (.bat) 文件以移动到特定目录和 output (echo) 列出的所有文件? - Create a batch (.bat) file to move to a specific directory and output (echo) all files listed? Windows 7 Batch - 创建子文件夹,然后查找文件名中包含特定文本的文件并将这些文件移动到新创建的子文件夹中 - Windows 7 Batch - Create subfolder, then find files with certain text in file name and move those files in the newly created subfolder Windows批处理文件:使用UnixUtils find命令将X分钟之前的文件移动到其他目录 - Windows batch file: move files older than X minutes to a different directory using UnixUtils find command
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM