So I have a text file which I have created using a combination of downloading a URL from a website with wget and stripping out the first few lines... so basically my text file contents look like this:
4523">blah blah blah and a whole bunch of useless lines of code.
I simply need (using only windows batch file commands) to create a new text file that ONLY contains whatever the number is before the first "> ... so my new text file will only be:
4523
I need to remove the "> and everything that appears after that string.
I have been having trouble with this, dunno why. It really should be within my skill level I thought... I have googled things and tried things until I am blue in the face lol. Surely someone has a super simple solution for me.
Thanks!
4523">blah blah blah and a whole bunch of useless lines of code.
I simply need (using only windows batch file commands) to create a new text file that ONLY contains whatever the number is before the first "> ... so my new text file will only be:
4523
I need to remove the "> and everything that appears after that string.
I have been having trouble with this, dunno why. It really should be within my skill level I thought... I have googled things and tried things until I am blue in the face lol. Surely someone has a super simple solution for me.
Thanks!