diff --git a/dotfiles/bin/file-sigcheck.bat b/dotfiles/bin/file-sigcheck.bat index a586c73..b29564b 100644 --- a/dotfiles/bin/file-sigcheck.bat +++ b/dotfiles/bin/file-sigcheck.bat @@ -1,12 +1,13 @@ @echo off -cd %DEV_TOOLS%\SysinternalsSuite +cd /d %DEV_TOOLS%\SysinternalsSuite + if exist %1\* ( echo Run on a file ) else ( - if exist "%~1_Report.txt" ( - del "%~1_Report.txt" + if exist "%~1_sigcheck_report.txt" ( + del "%~1_sigcheck_report.txt" ) - sigcheck.exe /a "%~1" > "%~1_sigcheck_report.txt" + sigcheck64.exe /a "%~1" > "%~1_sigcheck_report.txt" start notepad "%~1_sigcheck_report.txt" )