Search found 9 matches
- 18 Sep 2021 19:00
- Forum: DOS Batch Forum
- Topic: JREPL.BAT v8.6 - regex text processor with support for text highlighting and alternate character sets
- Replies: 550
- Views: 2165058
Re: JREPL.BAT v8.6 - regex text processor with support for text highlighting and alternate character sets
Many thanks, Steffen. It works as expected!!!
- 18 Sep 2021 01:35
- Forum: DOS Batch Forum
- Topic: JREPL.BAT v8.6 - regex text processor with support for text highlighting and alternate character sets
- Replies: 550
- Views: 2165058
Re: JREPL.BAT v8.6 - regex text processor with support for text highlighting and alternate character sets
Hi there. I've got this batch to extract the text between wordA and wordB from a text file: wordA----------text1-----------wordB @echo off type infile |jrepl ".*wordA(.*)wordB.*" "$1" > outfile It works when there are only one set of wordA and wordB. It returns i.e. "----------text1-----------" Howe...
- 13 Oct 2020 03:33
- Forum: DOS Batch Forum
- Topic: JREN.BAT v2.8 - Rename files/folders using regular expressions
- Replies: 78
- Views: 199203
Re: JREN.BAT v2.8 - Rename files/folders using regular expressions
Thanks, Steffen. Your script works perfectly! It has no issues with % and ^ neither if not use the CALL command.
- 09 Oct 2020 18:59
- Forum: DOS Batch Forum
- Topic: JREN.BAT v2.8 - Rename files/folders using regular expressions
- Replies: 78
- Views: 199203
Re: JREN.BAT v2.8 - Rename files/folders using regular expressions
Agreed, Steffen. I started to seek a utility for renaming files on my exFAT drive D: when Windows 10 refused to make the case sensitive renaming. The fact that JREN.BAT worked on one occasion but failed on another indicates that the problem is with the Windows itself. The case-sensitive feature of J...
- 09 Oct 2020 03:12
- Forum: DOS Batch Forum
- Topic: JREN.BAT v2.8 - Rename files/folders using regular expressions
- Replies: 78
- Views: 199203
Re: JREN.BAT v2.8 - Rename files/folders using regular expressions
Thanks, Steffen.
I tested your script. It worked as the ren command.
I also think the weird observations with JREN.BAT is due to some other undefined causes. ATM, I am using the workaround.
I tested your script. It worked as the ren command.
I also think the weird observations with JREN.BAT is due to some other undefined causes. ATM, I am using the workaround.
- 07 Oct 2020 23:47
- Forum: DOS Batch Forum
- Topic: JREN.BAT v2.8 - Rename files/folders using regular expressions
- Replies: 78
- Views: 199203
Re: JREN.BAT v2.8 - Rename files/folders using regular expressions
By the way, these always worked. So perhaps is there something to do with the the dot (.)? G:\t>jren BOOTEX.1.LOG BOOTEX.1.loG "G:\t\BOOTEX.1.LOG" --> "BOOTEX.1.loG" //succeeded G:\t>jren BOOTEX.1.loG BOOTEX.1.LOG "G:\t\BOOTEX.1.loG" --> "BOOTEX.1.LOG" //succeeded G:\t>jren BOOTEX.1.LOG BOOTEX.1.loG...
- 07 Oct 2020 16:35
- Forum: DOS Batch Forum
- Topic: JREN.BAT v2.8 - Rename files/folders using regular expressions
- Replies: 78
- Views: 199203
Re: JREN.BAT v2.8 - Rename files/folders using regular expressions
More tests have revealed that JREN.bat will fail sometimes at first try, but a second try will work to rename the cases: G:\>jren captain.mkv captain.MKV "G:\captain.mkv" --> "captain.MKV" //actually failed on the first try G:\>jren captain.mkv captain.MKV "G:\captain.mkv" --> "captain.MKV" //succee...
- 07 Oct 2020 15:23
- Forum: DOS Batch Forum
- Topic: JREN.BAT v2.8 - Rename files/folders using regular expressions
- Replies: 78
- Views: 199203
Re: JREN.BAT v2.8 - Rename files/folders using regular expressions
Thanks, Dave. As Steffen said, your script has the feature where other utilities all fail when Windows simply ignores case-sensitive renaming. I did a thorough research and yours came up as the only one which can make a case sensitive name change. Windows' own ren command, all other file explorers c...
- 05 Oct 2020 21:25
- Forum: DOS Batch Forum
- Topic: JREN.BAT v2.8 - Rename files/folders using regular expressions
- Replies: 78
- Views: 199203
Re: JREN.BAT v2.8 - Rename files/folders using regular expressions
I may have found a small bug. This is reproducible: D:\>jren BOOTEX.loG BOOTEX.LOG /P "G:\" "G:\BOOTEX.loG" --> "BOOTEX.LOG" D:\>jren BOOTEX.LOG BOOTEX.loG /P "G:\" "G:\BOOTEX.LOG" --> "BOOTEX.loG" D:\>jren BOOTEX.loG BOOTEX.LOG /P "G:\" "G:\BOOTEX.loG" --> "BOOTEX.LOG" // but not renamed !!!! D:\>j...