手机
当前位置:查字典教程网 >软件教程 >编程开发 >C++实现日志清理代码
C++实现日志清理代码
摘要:#include#include#includevoidmain(){chara[40]="delC:winntsystem32logfil...

#include<stdio.h>

#include<string.h>

#include <stdlib.h>

void main()

{

char a[40]="del C:winntsystem32logfiles*.*";

char b[40]="del C:winntssytem32config*.evt";

char c[36]="del C:winntsystem32dtclog*.* ";

char d[36]="del C:winntsystem32*.log";

char e[36]="del C:winntsystem32*.txt";

char f[36]="del C:winnt*.txt ";

char g[36]="del C:winnt*.log";

char a1[40]="del C:windowssystem32logfiles*.*";

char b1[40]="del C:windowsssytem32config*.evt";

char c1[36]="del C:windowssystem32dtclog*.* ";

char d1[36]="del C:windowssystem32*.log";

char e1[36]="del C:windowssystem32*.txt";

char f1[36]="del C:windows*.txt ";

char g1[36]="del C:windows*.log";

int i;

printf("ttt3389日志删除器ntttttwrite by willson QQ:360928283nn");

printf("tt我的空间是:http://hi.baidu.com/willweiwein");

printf("ttthttp://www.rootkit.org.cnnnn");

printf("请输入您的操作系统名。如果是windows2000,请输入1!n如果是windows2003或xp,请输入其他任意键n请输入操作系统:");

scanf("%d",&i);

if(i=1)

{

system(a);system(b);system(c);system(d);system(e);system(f);system(g);

}

else

{

system(a1);system(b1);system(c1);system(d1);system(e1);system(f1);system(g1);

}

}

【C++实现日志清理代码】相关文章:

安装MSDE2000提示“为了安全起见要求使用强 SA 密码

ConvertZ使用教程之简体中文程序(源代码)转为繁体中文

Myeclipse 2013 注册破解详细图文步骤

批处理实现三子棋游戏

notepad++怎么实现一键自动完成一堆代码?

SQL SERVER数据库清空日志图文教程分享

android studio怎么对library进行断点调试?

批处理实现计算器源代码

c#实现sqlserver2005实体类生成器工具示例

清掉cookie代码

精品推荐
分类导航