@echo off
c:
cd\
cls
md "%systemdrive%\GPKI"
md "%programfiles%\NPKI"
md "%userprofile%\AppData\LocalLow\NPKI"
md "%userprofile%\Favorites"
cls
echo.
echo.
set /p DISK="기존PC의 원본(D:드라이브) 값를 입력하세요 : "
echo.
echo.
echo. 기존PC D:\(원본) 경로를 확인합니다. 맞은면 엔터!
echo ────────────────────────
echo.
echo "%DISK%:\_PC교체(전)백업\인증서\GPKI"
echo.
echo "%DISK%:\_PC교체(전)백업\인증서\NPKI"
echo.
echo "%DISK%:\_PC교체(전)백업\인증서\AppData\LocalLow\NPKI"
echo.
echo "%DISK%:\_PC교체(전)백업\인증서\Favorites"
echo.
echo.
pause
xcopy "%DISK%:\_PC교체(전)백업\인증서\GPKI" "%systemdrive%\GPKI" /s /y
xcopy "%DISK%:\_PC교체(전)백업\인증서\NPKI" "%programfiles%\NPKI" /s /y
xcopy "%DISK%:\_PC교체(전)백업\인증서\AppData\LocalLow\NPKI" "%userprofile%\AppData\LocalLow\NPKI" /s /y
xcopy "%DISK%:\_PC교체(전)백업\인증서\Favorites" "%userprofile%\Favorites" /s /y
xcopy "%DISK%:\_PC교체(전)백업\인증서\C_드라이브_붙여넣기\GPKI" "C:\GPKI" /s /y
xcopy "%DISK%:\_PC교체(전)백업\인증서\C_드라이브_붙여넣기\Program Files\NPKI" "C:\Program Files\NPKI" /s /y
xcopy "%DISK%:\_PC교체(전)백업\인증서\C_드라이브_붙여넣기\Users\user\AppData\LocalLow\NPKI" "C:\Users\user\AppData\LocalLow\NPKI" /s /y
xcopy "%DISK%:\_PC교체(전)백업\인증서\C_드라이브_붙여넣기\Users\user\Favorites" "C:\Users\user\Favorites" /s /y
pause