中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-10-31 22:51
47,815 topics / 349,930 posts / today 0 new / 48,290 members
DOS开发编程 & 发展交流 (开发室) » [Help] Programming question
Printable Version  892 / 4
Floor1 bibinet Posted 2005-04-11 00:00
初级用户 Posts 3 Credits 110
I want to use DOS to write a program that uses the system time to format a hard drive (for example, if I want the system time to reach 2005-10-1 0:00, it will automatically format a hard drive, or delete a file). How should this batch file be written?

Also, how can I add this file into the system processes?
Floor2 zybird Posted 2005-04-11 00:00
中级用户 Posts 53 Credits 240
This is very simple! But if you don't explain the specific purpose clearly, probably no one will teach you, because this request looks very suspicious
Floor3 JonePeng Posted 2005-04-12 00:00
金牌会员 Posts 1,883 Credits 4,562 From 广东广州
Is the OP up to something shady?
Floor4 bibinet Posted 2005-04-12 00:00
初级用户 Posts 3 Credits 110
Absolutely not doing anything crooked~ I made a website, and because the company treatment is too harsh, I want to leave. So when I leave that company, I want the server to automatically delete that site's contents. I've already done it using Scheduled Tasks, but it's too obvious. If it's discovered, it won't be good for anyone, so I want to see whether a batch file can help me achieve this function~ So I ask the experts for some guidance.
Floor5 qb45 Posted 2005-04-12 00:00
高级用户 Posts 194 Credits 677
In XP, it seems AUTOEXEC.BAT can't be executed automatically at startup, right?
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023