个人收藏.经典应用
如常访问局域网的的网上邻居,可以映射网络驱动器,也可用批处理:
如访问一台为 shiji 的电脑,用户名为 shi ,密码为 123456 的.文件语句为:
net use \shiji\ipc$ " 123456" /user:" shi" .
提高2000访问98的速度:删除:
HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsCurrent Version\Explorer\RemoteComputer\NameSpce 下的
{D6277990-4C6A-11CF-8D87-00AA0060F5BF}
防止黑客利用TFTP传输后门程序,将TFTP的传输端口修改为0,用记事本打开:
C:\WINDOWS\system32\drivers\etc\services 将其中的:" TFTP" 行的" 69/udp" 改为" 0/udp" .
Excel 单元格跨行轻松合并
在目标单元格中输入:" =concatenate(B2,D2)" 或者:" =B2& D2& C2"
6招急救WINDOWS
1-F8 最后一次正确的配置
2-sfc /scannow 检查修复系统文件
3-换" 马甲" 上,就是重新建立另一个用户
4-恢复DLL注册状态:
存为批处理:
@echo off
for % 1 in (%systemroot%\system32\*.dll) do regsvr32.exe /s % 1
5-系统救命稻草:系统还原,或:C:\windows\system32\restore\rstrui.exe
6-系统另类初始化:完全恢复初始注册表
在DOS下\在另一系统下\在" 故障恢复控制台" 下,切换到:%windir%\repair 下执行:
copy sam %windir%\system32\config
copy system %windir%\system32\config
copy software %windir%\system32\config
copy default %windir%\system32\config
copy security %windir%\system32\config
或做批处理.
IE显示红XX, 存为批处理:
@echo off
REG DELETE " HKLM\Software\Microsoft\Internet Explorer\plugins\Extension" /f
REG ADD " HKLM\Software\Microsoft\Internet Explorer\plugins\Extension" /f
REG DELETE " HKLM\Software\Microsoft\Internet Explorer\plugins\MIME" /f
REG ADD " HKLM\Software\Microsoft\Internet Explorer\plugins\MIME" /f
修改系统安装路径后无法更新,存为批处理:
@echo off
setlocal
if exist %SystemDrive%\YourProgramFilesDir.reg goto afterUpd
regedit /a " %TEMP%\YourProgramFilesDir.reg" HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Currentversion
@echo.REGEDIT4> %SystemDrive%\YourProgramFilesDir.reg
@echo.> > %SystemDrive%\YourProgramFilesDir.reg
@echo.[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Currentversion]> > %SystemDrive%\YourProgramFilesDir.reg
set f1=find /i " ProgramFilesDir"
set f2=find " ="
for /f " Tokens=*" %%i in ('type " %TEMP%\YourProgramFilesDir.reg" ^|%f1%^|%f2%') do (
@echo.%%i> > %SystemDrive%\YourProgramFilesDir.reg
@echo Your %%i
)
@echo.> > %SystemDrive%\YourProgramFilesDir.reg
@echo.> > %SystemDrive%\YourProgramFilesDir.reg
del /q " %TEMP%\YourProgramFilesDir.reg"
@echo.REGEDIT4> %SystemDrive%\DefaultProgramFilesDir.reg
@echo.> > %SystemDrive%\DefaultProgramFilesDir.reg
@echo.[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Currentversion]> > %SystemDrive%\DefaultProgramFilesDir.reg
@echo." ProgramFilesDir" =" %SystemDrive%\\Program Files" > > %SystemDrive%\DefaultProgramFilesDir.reg
@echo Default " ProgramFilesDir" =" %SystemDrive%\\Program Files"
@echo.> > %SystemDrive%\DefaultProgramFilesDir.reg
@echo.> > %SystemDrive%\DefaultProgramFilesDir.reg
regedit /s %SystemDrive%\DefaultProgramFilesDir.reg
del /q %SystemDrive%\DefaultProgramFilesDir.reg
endlocal
goto :EOF
:afterUpd
type %SystemDrive%\YourProgramFilesDir.reg
regedit /s %SystemDrive%\YourProgramFilesDir.reg
del /q %SystemDrive%\YourProgramFilesDir.reg
安装了雅虎助手后,一进系统就会重启,进安全模式也是
删除 c:\windows\system32\drives\cnsminkp.sys文件应该可以解决
双机直连线做法:
☉白绿-绿-白橙-蓝-白蓝-橙-白棕-棕☉白橙-橙-白绿-蓝-白蓝-绿-白棕-棕
在2000和XP中修改网卡MAC地址:
注册表
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlset\Control\Class\{4D36E972-E32511CE-BFC1-08002BE10318}\0001下新建子键和键值Networkaddress=112233445566,HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlset\Control\Class\{4D36E972-E32511CE-BFC1-08002BE10318}\0002\Ndi\Params\Networkaddress将该键下的default键值设为112233445566。
给 Word 自定义快捷键
打开 Word 后,按住 Ctrl Alt + 这三个键,然后选择你所要定义的命令.在请按新的快捷键中打入快捷键,指定,关闭就可以.
自动扫描磁盘前不要等待
在 CMD 输入:CHKNTFS /t:0
打败 Windows 文件保护的替换命令
replace d:\test\A.mp3 d:\test\B.mp3
这样正在播放的 A 慢慢的变成播放 B 歌了.
取消系统文件保护功能
1-删除系统中备份的系统文件:Winnt\driver cache\下的所有文件,Winnt\Servicepack Files\下的所有文件.
2-在命令行模式下执行:SFC /Purgecache,再SFC /cachesize=0
利用 Copy 隐藏压缩文件方法:
如: copy opera.rar/b + shij.gif/a download.gif 这样就会生成一个download.gif的图片文件,双击就是图片,用RAR打开就是压缩文件.
参数 /b 表示二进制的压缩,参数 /a 指定以ASCII格式复制、合并文件.二进制压缩放在前面.
用户帐户无法打开
开始--运行 依次输入以下命令
regsvr32 MSHTML.DLL
regsvr32 shdoclc.dll
regsvr32 jscript.dll
regsvr32 SXS.DLL
regsvr32 userenv.dll
regsvr32 shdocvw.dll
需要重启
********************************************************************
regsvr32 nusrmgr.cpl
regsvr32 mshtml.dll
regsvr32 jscript.dll
regsvr32 /i shdocvw.dll
********************************************************************
做好我的文档,收藏夹备份
桌面--我的文档--属性--目标文件夹:D:\我的文档,这样以后重装系统或是不能进入系统,我的文档里面的文件资料也都会在D盘中了。
直接把注册表 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]下“ Favorites” 的键值设置为其他路径,如D:\favorites,重新启动即可。