Search found 7 matches
- 08 Jun 2020 07:47
- Forum: DOS Batch Forum
- Topic: Risk Remover Batch Antivirus ( Scanner Component )
- Replies: 0
- Views: 19677
Risk Remover Batch Antivirus ( Scanner Component )
This is a fully fletched MD5 malware scanner complete with explanation of the public Source Code and general demonstration of how to use it properly. Explanation & Complete demonstration Video: https://youtu.be/lP_tto5J7Y4 Download: https://riskremove.blogspot.com/p/download.html Source Code: https:...
- 08 Jun 2020 00:28
- Forum: DOS Batch Forum
- Topic: Batch substring code not working
- Replies: 6
- Views: 7179
Re: Batch substring code not working
...I understand that the first grep returns "036D9462A5", but then what? for /f "tokens=1* delims= " %%a in (disktest.txt) do echo %%a | %~dp0\grep.exe -Eo "^.{10}" | %~dp0\fgrep.exe -i -f - %$base% >nul 1. Seperate contents in disktest.txt into 2 tokens, namely %%a %%b using space as a delimiter: ...
- 05 Jun 2020 10:44
- Forum: DOS Batch Forum
- Topic: Batch substring code not working
- Replies: 6
- Views: 7179
Re: Batch substring code not working
call :GetUnixTime utimebefore REM Fix %a:~0,10% syntax usage -- Fixed using grep and batch piping for /f "tokens=1* delims= " %%a in (disktest.txt) do echo %%a | %~dp0\grep.exe -Eo "^.{10}" | %~dp0\fgrep.exe -i -f - %$base% >nul call :GetUnixTime utimeafter Fixed using grep powerful command extensi...
- 05 Jun 2020 06:30
- Forum: DOS Batch Forum
- Topic: Batch substring code not working
- Replies: 6
- Views: 7179
Re: Batch substring code not working
Code: Select all
setlocal EnableDelayedExpansion
for /f "tokens=1* delims= " %%a in (disktest.txt) do set "comp=!%%a!" && %~dp0\fgrep.exe -i %comp:~0,10% %$base% >nul
setlocal DisableDelayedExpansion
- 04 Jun 2020 03:55
- Forum: DOS Batch Forum
- Topic: Batch substring code not working
- Replies: 6
- Views: 7179
Batch substring code not working
When %VAR:~0,10% is used in the following code, the code doesn't "refresh" the first 10 characters of the %VAR% when new VAR is set using for loop. for /f "tokens=1* delims= " %%a in (disktest.txt) do %~dp0\fgrep.exe -i %a:~0,10% %$base% >nul P.S. The contents in disktest.txt is structured as follow...
- 22 May 2020 05:11
- Forum: DOS Batch Forum
- Topic: Non-destructive access denied bypass for malware scanner
- Replies: 2
- Views: 4288
Re: Non-destructive access denied bypass for malware scanner
It is only a hobby project but, the original goal is to increase command line compatibility and use as much native windows library as possible.
- 13 May 2020 05:41
- Forum: DOS Batch Forum
- Topic: Non-destructive access denied bypass for malware scanner
- Replies: 2
- Views: 4288
Non-destructive access denied bypass for malware scanner
I'm doing a batch MD5 malware scanner. Some items (files & directories) were off-limits to fourmilab's http://www.fourmilab.ch/md5/ MD5 Digester : Including both files and directories that were simply "Access Denied" and some files that the MD5 digester cannot open. The goal of fixing this is to mak...