隐藏硬盘
来源:互联网 发布:玩游戏网络延迟高 编辑:程序博客网 时间:2024/04/28 19:42
隐藏硬盘CMD
@echo off
color 0a
mode con lines=20 cols=40
title 隐藏硬盘 はなふぶき
echo.
echo.
echo.
echo 隐藏硬盘(慎用)
echo 1.无(取消隐藏)
echo 2.A盘
echo 3.B盘
echo 4.C盘
echo 5.D盘
echo 6.E盘
echo 7.F盘
echo 8.全部
echo q.退出
echo.
echo.
set /p choice= 输入要隐藏盘的序号:
if {%choice%}=={} goto end
if /i %choice%==1 goto W
if /i %choice%==2 goto A
if /i %choice%==3 goto B
if /i %choice%==4 goto C
if /i %choice%==5 goto D
if /i %choice%==6 goto E
if /i %choice%==7 goto F
if /i %choice%==8 goto G
if /i %choice%==q goto end
:W
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoDrives" /d 0 /t REG_DWORD /f
cmd /c taskkill /f /im explorer.exe&&explorer.exe
cls
exit
:A
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoDrives" /d 1 /t REG_DWORD /f
cmd /c taskkill /f /im explorer.exe&&explorer.exe
cls
exit
:B
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoDrives" /d 2 /t REG_DWORD /f
cmd /c taskkill /f /im explorer.exe&&explorer.exe
cls
exit
:C
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoDrives" /d 4 /t REG_DWORD /f
cmd /c taskkill /f /im explorer.exe&&explorer.exe
cls
exit
:D
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoDrives" /d 8 /t REG_DWORD /f
cmd /c taskkill /f /im explorer.exe&&explorer.exe
cls
exit
:E
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoDrives" /d 10 /t REG_DWORD /f
cmd /c taskkill /f /im explorer.exe&&explorer.exe
cls
exit
:F
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoDrives" /d 20 /t REG_DWORD /f
cmd /c taskkill /f /im explorer.exe&&explorer.exe
cls
exit
:end
cls
exit
::reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\" /v "winoldapp" /d disabled /t REG_DWORD /f
- 隐藏硬盘
- 如何隐藏硬盘
- 整人之隐藏硬盘
- 如何隐藏硬盘坏道
- 修改注册表来隐藏逻辑硬盘
- 隐藏GNOME桌面已挂载硬盘的图标
- 彻底清除硬盘上的.DS_Store隐藏文件!
- mac硬盘中的几个隐藏的文件
- 完美删除EISA硬盘隐藏分区(OEM隐藏分区)
- Vista系统中隐藏的四大硬盘杀手
- 如何删除联想lenovo硬盘的隐藏分区
- 由浅入深 Win XP系统隐藏硬盘的两种技巧
- 屌丝逆袭 WINDOWS下用Subst隐藏你们硬盘的女神
- 对硬盘中的文件进行隐藏或者显示
- 硬盘
- 硬盘
- 硬盘
- 硬盘
- 引用 引用 公司禁用U盘的四种常规设置方法
- 引用 引用 教你准确查找对方的IP地址
- 引用 引用 端口号大全
- cannot run program "git.exe":CreateProcess error=2
- 引用 引用 去掉桌面上快捷方式的箭头的方法
- 隐藏硬盘
- Windows 7的77个运行命令列表及简要说明
- win7旗舰版激活码 2011.2.18
- 揭密win7pe制作全过程
- 4页双面打印计算器 C语言
- AOJ420旅行商
- 解析用win7自带功能禁止程序运行
- 【引用】CMD与DOS命令
- 【引用】【转】文件加密,我用cipher.exe命令