[email protected]: -------------------------------------------------------------------------------- … I would like to do this from the command line. Is it possible ? --------------------------------------------------------------------------------
Sure it is possible, but AFAIK not with any use of PSPad. Best known commandline text file manipulation directive is probably the "sed" command form *nix systems, which you can obtain for windows in several ways. See this thread at stackoverflow: http://stackoverflow.com/questions/127318/is-there-any-sed-like-utility-for-cmd- exe . With proposed vbs you could use cscript //nologo sed.vbs /^.*foo.*$// <input.txt >output.txt or just sed s/.*foo.*//g input.txt >output.txt if you choose the unxUtils or gnuWin binary executable. -- <http://forum.pspad.com/read.php?2,55478,55489> PSPad freeware editor http://www.pspad.com
