Example 3: Use batch scripts to check whether it is in the Glacier. The script content is as follows:
Copy the codeThe code is as follows:
@echo off
netstat -a -n >
type | find "7626" && echo "Congratulations! You have infected GLACIER!"
del
pause & exit
Example 4: Automatically clear system garbage through batch processing, and the script is as follows:
Copy the codeThe code is as follows:
@echo off
if exist c:windowstemp*.* del c:windowstemp*.*
if exist c:windowsTempor~1*.* del c:windowsTempor~1*.*
if exist c:windowsHistory*.* del c:windowsHistory*.*
if exist c:windowsrecent*.* del c:windowsrecent*.*
echo " Clean down! Press any key to exit"
pause & exit
Save the above script contents and automatically delete the system garbage every time it is turned on. There are two points to note here: 1. DOS does not support long file names, so the Tempor~1 thing appears; 2. You can change it according to your actual situation to make it meet your requirements.
Previous page12345Next pageRead the full text