phdit
asked on
POwershell Script
Hi All,
I have a text file which contains many rows (1000's of lines) of the below.
BIB9407/002,\\89.1.1.133\H AGEMEYER\C DHM2140812 \NE045673\ 00000001.p df
I need to make it look like
BIB9407/002,CDHM2140812\NE 045673\000 00001.pdf
So remove everything after the first , upto CDHM
I can do this easily using find replace but I need to automate this
Any guidance on how to script this will be appreciated it does not have to be in Powershell it can be VB script/batch.
Regards
John Harris
I have a text file which contains many rows (1000's of lines) of the below.
BIB9407/002,\\89.1.1.133\H
I need to make it look like
BIB9407/002,CDHM2140812\NE
So remove everything after the first , upto CDHM
I can do this easily using find replace but I need to automate this
Any guidance on how to script this will be appreciated it does not have to be in Powershell it can be VB script/batch.
Regards
John Harris
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Will the CDHM be the same for all lines?