Thanks to Mike Arms for the solution to the problem I was having using the search and replace stuff with Windows 2000's CMD shell.
I had read in the HTML documentation (perlwin32.html) that "The only (useful) quote character is the double quote (``). It can be used to protect spaces and other special characters in arguments." So I had thought that perl -pi.bak -e "'s/this/that/g'" testtextfile.txt should be fine as the shell would remove the double quotes for me and perl would see the single quotes fine. But, as Jenda Krynicky noted: 's/this/that/g' != s/this/that/g I guess the biggest fallacy in my thinking was that the single-quotes would be understood by perl and removed, whereas it seems that the single quotes are more meant for the unix-type shells. In the end, this is what works: perl -pi.bak -e "s/this/that/g" testtextfile.txt ...now to find out how to get the backticks working in place of the single text file, so I can select an entire hierarchy of text files for processing. :-) Ah the contortions one goes through to avoid installing a decent shell... Thanks to everyone who chimed in. Steve Harper Software Developer Campus Student Computing University of Utah _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
