Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to realize the file shredder for BAT version

2025-03-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly shows you "how to achieve the BAT version of the file shredder", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "how to achieve the BAT version of the document shredder" this article.

BAT file shredder

The code is as follows:

@ echo off

For f in (1) do (

Echo deleting% f...

Copy nul f / y > nul

Del% f / Q / f

)

Save the above to C:\ windows\ system32\ kill.bat.

Edit the Vbs script file

The code is as follows:

Set ws=createobject ("wscript.shell")

Ws.regwrite "HKCR\ *\ Shell\\ smash file\ Command\", "kill% 1"

After running the VBS file, the shredded file item appears in the right-hand menu of the file, and the file can be deleted completely after clicking.

The code is as follows:

@ echo off

Rem File shredding tool

Attention, echo! Dangerous operation!

Pause

For / f "tokens=3*" an in ('dir /-c% 1 ^ | find "File") do fsutil file setzerodata offset=0 length=%%a 1

Del 1

The echo file has been completely shredded!

Pause

The bat forced deletion tool is easy to use, easy, convenient and technical, and can help you delete something you can't delete.

Bat forced deletion tool uses violent deletion, org website killing report, restart deletion and function complete, network detection, even if it is not connected to the Internet, it can be used even if it is not connected to the Internet, batch risk action analysis, and automatically update the problem of displaying errors. Trojan horse scanning speed is light, let your computer quickly restore vitality.

Main functions of the bat forced deletion tool

General deletion violence deletion restart deletion backup deletion

Safe mode repair network connection repair folder camouflage repair

Virus immunization master boot record backup / restore HOSTS file repair

File association repair system time correction system reinforcement scan registry scan repair

IEFO hijacking scanning system key file snapshot cleaning system garbage cleaning registry

Tip: bat Force Delete tool will cause false positives if you use batch risk Action Analysis to analyze the Force Delete tool. Because the "forced deletion tool" has to execute many delete commands, coupled with the function of the complete set of functions to repair the system and modify permissions, it is normal to have false positives.

The above is all the contents of the article "how to implement the BAT version of the file shredder". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report