Software slaves. You don’t need to code them in a programming language. Even a simple batch file, with few simple commands can be an excellent slave.
Here’s a common problem?
There’s a folder with lot of files. You need to search through these files and separate the files containing a particular word.
Here’s a batch script to find a word in a series of text files in a folder and move the matching file to a separate folder.
@echo off REM REM finds specified text in files in the current directory REM and moves it to new folder if the specified text is found. REM REM Nov 5th 2013 REM set /p id="Enter ID: " %=% echo. echo Files containing: %id% findstr /i /b /m "\<%id%\>" *.* mkdir %id% for /f %%e in ('findstr /i /b /m \<%id%\> *.*') do move /-Y %%~fse %id% echo. echo. for /f "usebackq" %%d in (`"dir /ad/b | sort /R"`) do if %%d == %id% rd "%%d" pause