유틸리티 treesize5.5.5
2020.02.18 22:26
가벼운 버전 입니다.
우연히 iso 이미지를 살펴 보다가
한가지 신선한게 있어서요
temp에서 압축을 풀어서 실행 하는 것 같은데
기존의 8메가를 2메가로 놔두고 실행 하는 cmd가
신선하지 않나요?
@echo off
cd /d "%~dp0"
if exist "%temp%\HBCD\TreeSize.exe" goto Z
mkdir "%temp%\HBCD"
if not exist "%~dp0TreeSize.7z" echo Oops! TreeSize.7z is missing from this folder. What else can I do? & pause & exit /b
set szexe=NONE
if exist "%ProgramFiles%\7-Zip\7z.exe" set szexe="%ProgramFiles%\7-Zip\7z.exe"
if exist "%SystemDrive%\Program Files (x86)\7-Zip\7z.exe" set szexe="%SystemDrive%\Program Files (x86)\7-Zip\7z.exe"
if %szexe%==NONE (
echo Couldn't find 7-Zip, but I do have a backup plan!
echo.
\HBCD\uharc.exe x -t"%TEMP%\HBCD" -y+ \HBCD\WinTools\Files\7-zip.uha
if exist %TEMP%\HBCD\7z.exe set szexe=%TEMP%\HBCD\7z.exe
)
if %szexe%==NONE (
echo Oops! 7-Zip seems to be missing, and I couldn't recover. Can't continue.
pause
cd /d "%~dp0"
exit /b
)
%szexe% x -o"%temp%\HBCD" "%~dp0TreeSize.7z"
:Z
regsvr32 /s msxml3.dll
start "TreeSize" "%temp%\HBCD\TreeSize.exe"
댓글 [1]
-
홍이잠 2020.02.19 19:44
좋은자료 감사합니다.. 즐겁고 행복한 시간 되세요