Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1037.Advanced search and replace -- How to remove filename from a full path list?

User: Soly -- 2012-12-19          << 1036  1038 >>
Hits: 1356
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
How to remove filename from a full path?
Input Sample:
C:\Test\a.txt
D:\test2\b.txt
E:\test3\c.txt
F:\test4\d.txt
Output Sample:
C:\Test
D:\test2
E:\test3
F:\test4
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-o open the list file
2. ctrl-h 'replace' open replace dialogue
* set "replace unit' to 'Chars', set "replace scope" to 'Line'
* set 'search for pattern' to:

3. click 'replace', done.
4. ctrl-s save to file.

Screenshot 1:  Replace_Window


Similar Examples:
How to batch rename files by a filename mapping list? (58%)
How to rename files according to a given mapping list? (57%)
How to rename files according to a given mapping list? (57%)
How to batch remove everything in filename after pattern like -xxx@ ? (56%)
How to make multiple copies of a file and rename them from a list? (56%)
How to rename files to the first and last line of file contents? (55%)
How to remove the text from line start to the first ":" in each line? (54%)
How to batch rename files to the new names from a list in a text file? (53%)

Check Demo of Advanced search and replace
Keywords:
path  full  remove filename  replace scope  scope  chars  list  how to remove  remove  remov  remove path  filename and path  full list  file path  remove from filename  filename remove  filename list  replace from list