怎样在Win2000下删除系统的DLL文件?(直接删除将出错)
(在Win98下可使用Wininit.ini, 那么在Win2000下呢?)

解决方案 »

  1.   

    建议你进入纯DOS,如果没有建议你先装一个吧!!
      

  2.   

    建立一个批处理文件如:c:\type a.bat   del c:\winnt\system32\a.dll
       ren c:\winnt\system32\b.dll c.dll
    运行该BAT文件
      

  3.   

    好像不可能吧.m$有保护的如果它的dll被改掉它又用重新copy.以前替换dll的方法行不能的.
      

  4.   

    写win.ini
    电脑抱上介绍得多了!
      

  5.   

    系统下次启动的时候会在启动windows之前运行win.ini的脚本,并且在运行玩就删除win.ini所以你启动windows以后看不到这个文件。
    但是可以自己建立这个文件。具体的section和ident网上有很多资料,去google查吧
      

  6.   

    好像MoveFileEx也OK的,保护的文件就不行了
    The MoveFileEx function renames an existing file or directory. BOOL MoveFileEx(    LPCTSTR lpExistingFileName, // address of name of the existing file  
        LPCTSTR lpNewFileName, // address of new name for the file 
        DWORD dwFlags  // flag to determine how to move file 
       );
     ParameterslpExistingFileNamePoints to a null-terminated string that names an existing file or directory. lpNewFileNamePoints to a null-terminated string that specifies the new name of lpExistingFileName. 
    When moving a file, the destination can be on a different file system or drive. If the destination is on another drive, you must set the MOVEFILE_COPY_ALLOWED flag in dwFlags.
    When moving a directory, the destination must be on the same drive. Windows NT: 
    //Reboot时,替换文件!
    If dwFlags specifies MOVEFILE_DELAY_UNTIL_REBOOT, lpNewFileName can be NULL. In this case, MoveFileEx registers the 
    //可以删除文件的
    lpExistingFileName file to be deleted when the system reboots.
      

  7.   

    你们还是放弃这个想法吧
    在2000下(尤其是你打了SP2或者SP3之后)想更改文件什么的,似乎不太现实吧?
    真把微软想得也太弱智了点吧?不相信你可以自己试试,就连你删除一个Wscript.exe,它也会自动copy一份,呵呵
      

  8.   

    1.在安全模式下可以,但是很麻烦
    2.在没打SP之前改注册表然后重启一次就可以(改哪个KEY我忘了,你可以找找)
    其它的就不行了,MS的WFP还是蛮厉害的,研究了很久也没搞定
      

  9.   

    算了吧,这个东西并没有什么价值。
    所谓之,Windows一更新换代就没用了。
    就此打住吧。