View this solution now by starting your plan or, if applicable, a 30 day free trial. Setting up your account is quick, easy, and secure. We will return you to this solution, unlocked, when you’re done.
Hi,
I'd like to create 1 text file by merging a number of other files. eg. for file1.txt, file2.txt, file3.txt i might write:
type file1.txt >> merge.txt
type file2.txt >> merge.txt
type file3.txt >> merge.txt
But i want the list of files to merge to come from another text file dirlist.txt (created using DIR /B > dirlist.txt)
How can i do this? I think i need to use a variable and piping? but i'm not expert in dos, pls provide working bat commands.
Thanks
View this solution now by starting your plan or, if applicable, a 30 day free trial. Setting up your account is quick, easy, and secure. We will return you to this solution, unlocked, when you’re done.
Know a thing or two about MS-DOS? Join our team of experts today.
Posted on 2006-10-03 at 12:37:48ID: 28773712
All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.