Search found 2 matches

by jaredblank
19 Jun 2017 19:12
Forum: DOS Batch Forum
Topic: Batch file command to delete all text after certain word
Replies: 4
Views: 6728

Re: Batch file command to delete all text after certain word

Sorry for the delay getting back on, was on family vacation last week. Yes to answer your question, I am limited to Windows Server programs only to accomplish this. Ideally I would like to not use that particular line as my column delimiter and instead add both row and column delimiters to my text f...
by jaredblank
14 Jun 2017 12:45
Forum: DOS Batch Forum
Topic: Batch file command to delete all text after certain word
Replies: 4
Views: 6728

Batch file command to delete all text after certain word

I am looking for help in the batch file command to delete all text on a single line after a certain word is found. Example text: IMAD: 20170614L1B78J1C000441 I would like to delete all of the text after "IMAD:" so that this only remains on the line. I tried to use this code but it doesn't ...