Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

694.Advanced search and replace -- How to change all files that contains words "RRR" to read-only?

User: editor -- 2011-01-08          << 693  695 >>
Hits: 316
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
How to change all files that contains words "RRR" to read-only?
There are some files in a folder, some of them has "RRR" in file content, how to change these files to read-only?
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. open "Tools->Batch Runner" menu
2. click "Search Files" button
* check option of "Containing Word/Phrase", and enter "RRR" behind
* click "Search" and search all files under this folder.
* close "Search Files" window.
3. click "Run Apps", enter following in the window below:

4. click "Run", all files in the list will be read-only

Note: need to use version 2.6 or newer.

Similar Examples:
How to find out all files that contain all words of A, B and C? (67%)
How to extract all lines that contain words A and B and C? (67%)
How to find all lines in file A that contain words in file B? (65%)
How to remove all lines that contain one or more words in a list? (62%)
How to change all letters that come after the word "password:" to ***** ? (61%)
How to remove all the lines that do not contain any of words in a list? (61%)
How to findout all lines that contain specified words in multiple files? (60%)
How to extract all lines that contain "abc" from multiple files? (58%)

Check Demo of Advanced search and replace
Keywords:
rrr  apps  files that contain  file content  content  containing  version  rsi  folder  old  how to search files and change words  search replace file content  list of files  how to replace all words  search words  replace list  words to replace  file list