Computer >> 컴퓨터 >  >> 체계 >> Windows

Windows 11/10에서 폴더 보기 설정을 백업 및 복원하는 방법

Windows 파일 탐색기는 탐색하기 쉽고 흥미로운 접근성 기능이 많이 제공되며 그 중 하나는 폴더 보기 설정입니다. 폴더가 저장하는 파일 유형을 나타내도록 폴더를 사용자 정의할 수 있습니다.

예를 들어 동영상만 저장한 폴더가 있는 경우 목록이나 파일 세부정보 대신 동영상의 썸네일을 표시하도록 폴더를 설정할 수 있습니다. 또한 각 폴더를 사용자 정의하여 중간, 큰 아이콘 또는 초대형 아이콘을 표시할 수 있습니다.

이러한 변경을 수행한 후 재설정된 경우 폴더 보기 설정을 복원하기 위해 백업할 수 있습니다. 이 가이드는 배치 파일을 사용하여 폴더 보기 설정을 백업하고 복원하는 방법을 보여줍니다.

Windows 11/10에서 폴더 보기 설정 백업 및 복원

Windows 11/10에서 폴더 보기 설정을 백업하고 복원하려면 아래 단계를 따르십시오.

  1. 백업 및 복원 배치 파일을 만듭니다.
  2. Windows에서 차단된 경우 .bat 파일 차단을 해제합니다.
  3. .bat 파일을 실행하여 폴더 보기 설정을 백업하고 복원하십시오.

더 이상 고민하지 않고 이제 위의 작업을 수행하는 것과 관련된 세부 단계로 바로 넘어갈 것입니다.

1] 백업 및 복원 배치 파일 생성

Windows 11/10에서 폴더 보기 설정을 백업 및 복원하는 방법

시작을 클릭합니다. 버튼을 누르고 메모장을 검색합니다. . 검색 결과에서 메모장 앱을 선택하여 실행하세요.

새 메모장 파일에 다음 텍스트를 입력합니다.

@ECHO OFF

title Backup and Restore Folder View Settings Tool
:choice
cls
echo.
echo OPTIONS:
echo.
echo 1. Back up your folder view settings.
echo 2. Restore folder view settings from backup.
echo 3. Cancel
echo.
echo.
set /P c=Type the option number you would like to do, and press Enter?
if /I "%c%" EQU "1" goto :verify1
if /I "%c%" EQU "2" goto :verify2
if /I "%c%" EQU "3" exit
goto :choice

:verify1
IF EXIST "%userprofile%\Desktop\Folder View Settings Backup" goto :response1
goto :backup

:response1
echo.
echo.
echo You already have a "Folder View Settings Backup" folder on your desktop.
echo Please move it to another location, and try again.
echo.
pause
goto :choice

:backup
mkdir "%userprofile%\Desktop\Folder View Settings Backup"
REG EXPORT HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Defaults "%userprofile%\Desktop\Folder View Settings Backup\HKCU_Software_Microsoft_Windows_CurrentVersion_Explorer_Streams_Defaults.reg" /y
REG EXPORT HKCU\Software\Microsoft\Windows\Shell\BagMRU "%userprofile%\Desktop\Folder View Settings Backup\HKCU_Software_Microsoft_Windows_Shell_BagMRU.reg" /y
REG EXPORT HKCU\Software\Microsoft\Windows\Shell\Bags "%userprofile%\Desktop\Folder View Settings Backup\HKCU_Software_Microsoft_Windows_Shell_Bags.reg" /y
REG EXPORT HKCU\Software\Microsoft\Windows\ShellNoRoam\Bags "%userprofile%\Desktop\Folder View Settings Backup\HKCU_Software_Microsoft_Windows_ShellNoRoam_Bags.reg" /y
REG EXPORT HKCU\Software\Microsoft\Windows\ShellNoRoam\BagMRU "%userprofile%\Desktop\Folder View Settings Backup\HKCU_Software_Microsoft_Windows_ShellNoRoam_BagMRU.reg" /y
REG EXPORT "HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU" "%userprofile%\Desktop\Folder View Settings Backup\HKCU_Software_Classes_LocalSettings_Software_Microsoft_Windows_Shell_BagMRU.reg" /y
REG EXPORT "HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags" "%userprofile%\Desktop\Folder View Settings Backup\HKCU_Software_Classes_LocalSettings_Software_Microsoft_Windows_Shell_Bags.reg" /y
cls
echo.
echo Backup of folder view settings successfully completed.
echo.
pause 
exit

:verify2
IF NOT EXIST "%userprofile%\Desktop\Folder View Settings Backup" goto :response
goto :restore

:response
echo.
echo.
echo You do not have a "Folder View Settings Backup" folder on your desktop.
echo Please place the backup folder on your desktop, and try again.
echo.
pause
goto :choice

:restore 
REG Delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Defaults" /F
Reg Delete "HKCU\Software\Microsoft\Windows\Shell\BagMRU" /F
Reg Delete "HKCU\Software\Microsoft\Windows\Shell\Bags" /F
Reg Delete "HKCU\Software\Microsoft\Windows\ShellNoRoam\Bags" /F
Reg Delete "HKCU\Software\Microsoft\Windows\ShellNoRoam\BagMRU" /F
Reg Delete "HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU" /F
Reg Delete "HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags" /F

REG IMPORT "%userprofile%\Desktop\Folder View Settings Backup\HKCU_Software_Microsoft_Windows_CurrentVersion_Explorer_Streams_Defaults.reg"
REG IMPORT "%userprofile%\Desktop\Folder View Settings Backup\HKCU_Software_Microsoft_Windows_Shell_BagMRU.reg"
REG IMPORT "%userprofile%\Desktop\Folder View Settings Backup\HKCU_Software_Microsoft_Windows_Shell_Bags.reg"
REG IMPORT "%userprofile%\Desktop\Folder View Settings Backup\HKCU_Software_Microsoft_Windows_ShellNoRoam_Bags.reg"
REG IMPORT "%userprofile%\Desktop\Folder View Settings Backup\HKCU_Software_Microsoft_Windows_ShellNoRoam_BagMRU.reg"
REG IMPORT "%userprofile%\Desktop\Folder View Settings Backup\HKCU_Software_Classes_LocalSettings_Software_Microsoft_Windows_Shell_BagMRU.reg"
REG IMPORT "%userprofile%\Desktop\Folder View Settings Backup\HKCU_Software_Classes_LocalSettings_Software_Microsoft_Windows_Shell_Bags.reg"
cls
echo.
echo Backup of folder view settings successfully restored.
echo.
echo Waiting to restart explorer to apply.
echo Your screen will flash as explorer is restarted.
echo.
echo.
pause
taskkill /f /im explorer.exe
start explorer.exe 
exit

위의 텍스트를 메모에 복사하여 붙여넣을 수 있습니다. 그런 다음 CTRL + S를 누릅니다. 파일을 데스크톱에 저장합니다. .bat 확대. .bat를 추가하면 됩니다. 저장을 누르기 전에 파일 이름 끝에 버튼.

Windows 11/10에서 폴더 보기 설정을 백업 및 복원하는 방법

.bat 확장자로 저장된 파일은 배치 파일이며 올바르게 완료되면 Windows 시스템에서 명령을 실행할 수 있습니다. 배치 파일에 대해 자세히 알아보고 멋진 트릭을 살펴보세요.

2] .bat 파일 차단 해제

새로 생성된 파일을 .bat 로 성공적으로 저장한 후 파일, Windows에서 차단할 수 있습니다. 이 파일을 실행하려면 먼저 차단을 해제해야 합니다. 이렇게 하려면 파일을 마우스 오른쪽 버튼으로 클릭하고 속성을 선택합니다. 컨텍스트 메뉴에서.

일반으로 전환 속성 창의 탭에서 차단 해제를 찾습니다. 창 아래쪽에 있는 확인란을 선택합니다. 이 체크박스를 선택하고 확인을 누릅니다. 버튼을 눌러 배치 파일 차단을 해제하세요.

참고: 차단 해제하는 경우 설정에 확인란이 없으면 Windows가 파일을 차단하지 않았으며 다음 단계로 이동할 수 있음을 의미합니다.

3] .bat 파일 실행

.bat 파일의 차단을 해제한 후에는 진행할 수 있습니다. .bat 파일을 두 번 클릭하여 실행할 수 있습니다. 배치 파일을 실행하면 다음 옵션을 보여주는 명령 프롬프트 창이 열립니다.

  • 폴더 보기 설정을 백업합니다.
  • 백업에서 폴더 보기 설정을 복원합니다.
  • 취소.

Windows 11/10에서 폴더 보기 설정을 백업 및 복원하는 방법

폴더 보기 설정을 백업하려면 1을 누르세요. ENTER 키를 누르십시오. 폴더 보기 설정을 복원하려면 2를 누르십시오. 그리고 ENTER를 누르세요.

또는 3을 누릅니다. 작업을 취소합니다.

도움이 되기를 바랍니다.

Windows 11/10에서 폴더 보기 설정을 백업 및 복원하는 방법