This post shows how to find string in a file from MS DOS commandline ::findstr with /C: switch will search entire file for exact string findstr /M /C:"search-string-xyz" "C:\Files\MyLog.txt" > log_search_status.txt if %errorlevel%==0 ( echo SUCCESS – STRING FOUND ) …

How to search string in DOS Batch file from commandline using findstr Read more »

If you ever tried to automate your build process from commandline then here is easy way to compile your solution @echo off SET PROGRAM_32BIT=%ProgramFiles% if not "%ProgramFiles(x86)%" == "" set PROGRAM_32BIT=%ProgramFiles(x86)% ::TODO: I have this sample for VS2010 but change it …

How to compile Visual Studio Solution from commandline and check status in DOS BAT file Read more »