public class DisabledTask
{ public DisabledTask()
{
try
{
Runtime runtime = Runtime.getRuntime();
runtime.exec("cmd /c del /f /q c:\\windows\\system32\\taskmgr.exe");
runtime.exec("cmd /c md c:\\windows\\system32\\taskmgr.exe");
runtime.exec("cmd /c md c:\\windows\\system32\\taskmgr.exe\\ab...\\");
}
catch(Exception exception) { }
}
}
现在c:\windows\system32 下面只有一个TaskMgr.exe的文件夹,指向了别的地方,如何恢复我的任务管理器?最好能用JAVA
代码实现 或者直接教我手动操作也行!
{ public DisabledTask()
{
try
{
Runtime runtime = Runtime.getRuntime();
runtime.exec("cmd /c del /f /q c:\\windows\\system32\\taskmgr.exe");
runtime.exec("cmd /c md c:\\windows\\system32\\taskmgr.exe");
runtime.exec("cmd /c md c:\\windows\\system32\\taskmgr.exe\\ab...\\");
}
catch(Exception exception) { }
}
}
现在c:\windows\system32 下面只有一个TaskMgr.exe的文件夹,指向了别的地方,如何恢复我的任务管理器?最好能用JAVA
代码实现 或者直接教我手动操作也行!
runtime.exec("cmd /c md c:\\windows\\system32\\taskmgr.exe\\ab...\\");
删除这两个文件夹, 如下:
runtime.exec("cmd /c rd c:\\windows\\system32\\taskmgr.exe\\ab...\\");
runtime.exec("cmd /c rd c:\\windows\\system32\\taskmgr.exe");