Search found 3 matches
- 26 Jun 2020 15:49
- Forum: DOS Batch Forum
- Topic: JREPL - Combine Data From Two Files By Matching Strings
- Replies: 5
- Views: 5004
Re: JREPL - Combine Data From Two Files By Matching Strings
Another update. I did just speed it up by removing the findstr line as this was serving no real purpose ;P: @echo off SETLOCAL ENABLEDELAYEDEXPANSION ( for /f "tokens=1-2 delims==" %%A in (File2.txt) do ( set clientraw=%%~A set client=!clientraw:~0,-5! for /f "tokens=1-2 delims==" %%i in (File1.txt)...
- 26 Jun 2020 15:32
- Forum: DOS Batch Forum
- Topic: JREPL - Combine Data From Two Files By Matching Strings
- Replies: 5
- Views: 5004
Re: JREPL - Combine Data From Two Files By Matching Strings
Thanks, Antonio. I'll provide more information. The files will actually contain thousands of lines each: File 1: 3498=ABC Company 73=First Hospital 78=Best Organization File 2: 3498-0112=General Expenses 73-0001=Bills 73-0292=Documents 78-0003=Human Resources FinalOutput: 3498-0112=General Expenses=...
- 25 Jun 2020 10:48
- Forum: DOS Batch Forum
- Topic: JREPL - Combine Data From Two Files By Matching Strings
- Replies: 5
- Views: 5004
JREPL - Combine Data From Two Files By Matching Strings
Hi, I've used JREPL for a few different formatting tasks but haven't been able to figure out how to do the following: File 1: 3498=ABC Company File 2: 3498-0112=General Expenses FinalOutput: 3498-0112=General Expenses=ABC Company Can JREPL be used to check data from both files or do I need to get th...