2个回答
展开全部
@echo off
echo.1.设置显示扩展名\显示当前文件夹路径;2.设置不显示扩展名\不显示当前文件夹路径
set /p select=
if "%select%"=="1" (
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v HideFileExt /t REG_DWORD
/d 0 /f >nul
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState /v FullPathAddress /t
REG_DWORD /d 1 /f >nul
)
if "%select%"=="2" (
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v HideFileExt /t REG_DWORD
/d 1 /f >nul
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState /v FullPathAddress /t
REG_DWORD /d 0 /f >nul
)
cls
echo.设置完成,刷新后生效!
pause>Nul
写点东西费脑子啊,加点分吧,呵.
echo.1.设置显示扩展名\显示当前文件夹路径;2.设置不显示扩展名\不显示当前文件夹路径
set /p select=
if "%select%"=="1" (
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v HideFileExt /t REG_DWORD
/d 0 /f >nul
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState /v FullPathAddress /t
REG_DWORD /d 1 /f >nul
)
if "%select%"=="2" (
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v HideFileExt /t REG_DWORD
/d 1 /f >nul
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState /v FullPathAddress /t
REG_DWORD /d 0 /f >nul
)
cls
echo.设置完成,刷新后生效!
pause>Nul
写点东西费脑子啊,加点分吧,呵.
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询