Is it possible to perform a search and replace from a command line without opening up notepad and the file?

Thanks in Advance,

Gary