Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

concat two txt

#Using PowerShell
#Simply use the Get-Content and Set-Content cmdlets:

Get-Content inputFile1.txt, inputFile2.txt | Set-Content joinedFile.txt

#You can concatenate more than two files with this style, too.
#If the source files are named similarly, you can use wildcards:

Get-Content inputFile*.txt | Set-Content joinedFile.txt
 
PREVIOUS NEXT
Tagged: #concat #txt
ADD COMMENT
Topic
Name
9+9 =