Amazing, that did the trick, switched to bat again and it works with pushd
Thanks a bunch Dave!
Powershell seems to have a general problem with the delimiter.
Search found 5 matches
- 19 Jan 2019 17:47
- Forum: DOS Batch Forum
- Topic: JREPL search and replace multiple occurrences
- Replies: 7
- Views: 9017
- 19 Jan 2019 14:46
- Forum: DOS Batch Forum
- Topic: JREPL search and replace multiple occurrences
- Replies: 7
- Views: 9017
Re: JREPL search and replace multiple occurrences
I just tried your code, but apparently powershell doesn't like the pipe in quotes.
I tried the escape character "\|", but that didn't help either. Any ideas how to solve this?
I tried the escape character "\|", but that didn't help either. Any ideas how to solve this?
- 19 Jan 2019 14:16
- Forum: DOS Batch Forum
- Topic: JREPL search and replace multiple occurrences
- Replies: 7
- Views: 9017
Re: JREPL search and replace multiple occurrences
Ah thanks Dave! Will check the T option. Since it's kind of a waste of resources to run thru the same file 3 times. ANd yes, of course you are right, I used the /o - option to overwrite the same file. Furthermore, I had to write a powershell script instead of a batch, because I'm running the script ...
- 19 Jan 2019 08:40
- Forum: DOS Batch Forum
- Topic: JREPL search and replace multiple occurrences
- Replies: 7
- Views: 9017
Re: JREPL search and replace multiple occurrences
Solved it by using "call".
- 18 Jan 2019 11:24
- Forum: DOS Batch Forum
- Topic: JREPL search and replace multiple occurrences
- Replies: 7
- Views: 9017
JREPL search and replace multiple occurrences
Hey all, discovered JRELP yesterday and love it! I have binary files, where I need to replace 3 strings. I want to do these replacements in one go and overwrite the original file. Can anyone give me some tips how to achieve this? That's what I got so far, but it's 3 different executions as you can s...