Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT
@echo off setlocal rem This script strips out any empty lines terminated with a CR or a CR/LF rem usage is process_feeds.bat "C:\inputfilename.txt" "C:\outputfilepath" rem it also makes a backup of the input files if [%2] NEQ  (call :process %1 %2) else ( for /f "tokens=*" %%a in ('dir /b /a-d "%source%\*.txt"') do call :process "%source%\%%a" "%dest%" ) goto :eof :process set input=%~1 set output=%~2\%~nx1 echo Working on %input% findstr /B /I /R "[!-z]" "%input%" > "%output%" REM remove the REM from the next line to have it remove the 'source' files. move "%input%" C:\backup\
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.