Hi there. I'm not great with .bat files or command lines, but is there an easy way to bring up FARR, type in "todo feed dog" and then have "feed dog" with date and time put into my todo.txt file? I found something similar for slickrun, however, I dont' know how to implement it with FARR. Any suggestions? Thanks!
http://groups.google...b4?#68b3cc8169188eb4======================================
:: GTD Wannabe
:: Command to append text to a file
:: 22 Jan 06
:: In response to:
http://groups.google...msg/68b3cc8169188eb4::
:: First param is name of the file, including extension
:: Second param is the text to be appended to the file
::
:: Assumes that this command will be run in the same directory as your
target text files
:: Filename is first param
set filename=%1%
:: Remove the quotation marks from the second parameter
set text=%2%
set textclean=%text:~1,-1%
:: Write the current date/time and second parameter text to the
appropriate text file
:: These two lines put the date/time and text one one line. Remove the
:: if that's what you want.
::echo %date% %time% %textclean% >> %filename%
::echo. >> %filename%
:: These lines put the date on a line, time on a line, and text on a
line. Add in :: if you don't
:: want it done this way. See block immediately above.
echo %date% >> %filename%
echo %time% >> %filename%
echo %textclean% >> %filename%
echo. >> %filename%
======================================================