We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Copy the content of several text files into one file

intimenordic
intimenordic asked
on
Medium Priority
427 Views
Last Modified: 2012-05-11
Hi Experts,

I have created a text file containing the full path to several text files.

Sample from file called copylist.txt:

C:\test\ifdata.txt
C:\test2\ifdata.txt
C:\test3\ifdata.txt
C:\test46\ifdata.txt
C:\test45\ifdata.txt
C:\test48\ifdata.txt
C:\test64\ifdata.txt

As you can see, all files have the same name, but are located in different folders, and have different content.

What I need to do is to copy the content of all these files into one large text file.

Ideas?

Thanks,
Bjorn
Comment
Watch Question

CERTIFIED EXPERT
Most Valuable Expert 2019
Most Valuable Expert 2018
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Perfect! Thanks a lot.

Regards,
Bjorn
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.