Fix sigcheck batch file not changing the working directory
This commit is contained in:
parent
2beccaeeb3
commit
6889755330
|
@ -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"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user