Hello,
In a folder I have lots of subfolders and my range to modify the text file starts from subfolder 000 to 050 & leave all other subfolders. I want to modify the text file named data.txt from this subfolders 000 to 050
Folder structure:
D:ReceiptsZoneDD-MM-YYReport (DD-MM-YY todays date)
000 (folder named ‘000’ contains the data.txt file to be modified)
001 (folder named ‘001’ contains the data.txt file to be modified)
002 (folder named ‘002’ contains the data.txt file to be modified)
…
modification of text file is upto folder ‘050’.
Needs to modify the text file from line no. 2 (leaving the first line its header). To modify the first 3 digits if its 302 then its fine and if its something else then 302 then modify it to 302.
Example:
some company xyz 27012013
30287921xxxx
30287822xxxx
10387823xxxx <—- Replace the first three digits to 302.
Desperately needs your help