Created
April 30, 2025 14:27
-
-
Save struppigel/a121eb3539177565a11d1c6ac2f560f6 to your computer and use it in GitHub Desktop.
strings.bat for use in context-menu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo on | |
cd C:\Tools\SysinternalsSuite | |
if exist %1\* ( | |
for /F "delims=" %%f in ('dir /b /s %1') do ( | |
:: skip folders | |
if not exist "%%~f\" ( | |
echo "%%~f" >> "%~dp1\%~n1.strings.txt" | |
echo. | |
strings64.exe -n 6 "%%~f" >> "%~dp1\%~n1.strings.txt" | |
) | |
) | |
) else ( | |
strings64.exe -n 6 "%~1" > "%~dp1\%~n1.strings.txt" | |
) | |
start notepad "%~dp1\%~n1.strings.txt" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment