I need a VBScript (nothing else) that will extract the email addresses from a text file by searching for "@", then parsing the email address around it. A text file may contain several email addresses, so all emails must be extracted.
Extracted emails will require to simply be displayed to the screen (the DOS window), not exported to a file.
The VSScript will be run by the batch file command line:
cscript ExtractEmail.vbs "TextFile.txt
Thanks for your help,