Skip to content

Commit

Permalink
Sync
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan386 committed Sep 2, 2016
1 parent 5ed60da commit 41ed4f9
Show file tree
Hide file tree
Showing 124 changed files with 24,359 additions and 2 deletions.
22 changes: 22 additions & 0 deletions 7z.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
@echo off
setlocal

for /F "usebackq tokens=3*" %%A IN (`reg query "HKEY_CURRENT_USER\SOFTWARE\7-Zip" /v Path`) do set appdir=%%A %%B
if exist "%appdir%" set app="%appdir%7z.exe"
if exist %app% goto found

set app="%ProgramFiles%\7-Zip\7z.exe"
if exist %app% goto found

set app="%ProgramFiles(x86)%\7-Zip\7z.exe"
if exist %app% goto found

set app="%ProgramW6432%\7-Zip\7z.exe"
if exist %app% goto found

set app="7z.exe"

:found
%app% a -tgzip -mx=9 -- %2 %1
if %errorlevel% equ 9009 echo The 7-Zip utility is missing. Please go to http://www.7-zip.org/ and install 7-Zip.
exit /b %errorlevel%
408 changes: 408 additions & 0 deletions BugTrap/BugTrap_14.vcxproj

Large diffs are not rendered by default.

Loading

0 comments on commit 41ed4f9

Please sign in to comment.