cmd.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 26 Aug 2009 15:25:13 +0300
changeset 184 380c761db215
parent 99 0fa8ff78a008
child 215 44ae18f7c0aa
permissions -rw-r--r--
About WinObj and devtree.

-*- outline -*-

* CMD tricks.

  $ set /p TOOLOUTPUT= < temp.txt

  $ for /f "tokens=*" %%i in ('%~dp0sometool.exe') do set TOOLOUTPUT=%%i

  $ for /f "tokens=1 delims=" %%s in (users.txt) do (echo %%S & command "%%S") >> outputfile.txt