Link to home
Start Free TrialLog in
Avatar of grahamsmyth
grahamsmyth

asked on

Batch file to add 2 X 0's to a text file.

I have a text file - containing data such as:

   AAJO011180A06755240105A    88.00309200810540
    AAJO011180A06755240105A    66.01009200811270
    AAJO011180A06755240105A   106.01709200810560
    AAJO011180A06755240105A    86.0240920081037L
    ACCE011180A067ADB30105A   190.00409200813570
    ACCE011180A067ADB30105A    68.0180920081342L
    AFAD011180200DF11E0105A   272.00109200810390
    AFAD011180200DF11E0105A    22.00809200810320
    AFAD011180200DF11E0105A    38.01509200810380
    AFAD011180200DF11E0105A    28.0220920081039L

I need a batch file or similar to add 2 zeros after the 4th Letter ie AAJO011180A06755240105A     will become AAJO00011180A06755240105A.

Any help will be appreciated.
test.txt
ASKER CERTIFIED SOLUTION
Avatar of sirbounty
sirbounty
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of grahamsmyth
grahamsmyth

ASKER

Absolutely perfect - thanks very much!
Happy to help - thanx for the grade! :^)