Looking for help here, please.
I have two text files:
1 - file listing, sample like:
2 - action file, sample like:
u:\sea78\siebsrvr\bin\sseunzip.exe u:\troy_zipped\S_OPTY_ATT_1-2EE1YW8_1-5UOK7X.SAF "u:\troy_unzipped\FX_PTonboarding_formSCOL.xls"
u:\sea78\siebsrvr\bin\sseunzip.exe u:\troy_zipped\S_OPTY_ATT_1-2EP7CT2_1-5W4JSN.SAF "u:\troy_unzipped\Starmine order form.xls"
I would like to script the following:
for each value in <1>, check <2>, and if that value exists, copy the whole line from <2> to a new file <3>.
The filenames in <1> may be of variable length; in <2>, they will always be at position 51.
Any assistance will be much appreciated,
Thanks and regards,