Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.
But it doesn't work if I do it inside an expanded IF block like this:
filever.exe /B /A /D "C:\Program Files\Folder\File.exe" | find "18.104.22.168" >nul If '%errorlevel%'=='0' Goto DoSomething
It no longer does the version match correctly. The %errorlevel% is always 0.
if exist "C:\Program Files\Folder\File.exe" ( filever.exe /B /A /D "C:\Program Files\Folder\File.exe" | find "22.214.171.124" >nul if '%errorlevel%'=='0' ( rem Something here ) else ( rem Something here ) ) else ( rem Something here )
|FEC Point of Sale terminal Customer display unit||4||91|
|Batch script / command to check if remote computer is a laptop or desktop||6||68|
|Reading registry key from HKCU and not hklm||10||60|
|Active DirectoryScript to change the Pager Field||1||15|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
20 Experts available now in Live!