November 2012 archive

Combining Files in PowerShell

If you need to combine text files in cmd.exe, you would issue the following command: copy file1.txt+file2.txt+file3.txt combined_files.txt If you wish to do the same for binary files, you would use the following command: copy /b file1.bin+file2.bin+file3.bin combined_files.bin To do the same in PowerShell is pretty straightforward.  If the destination file does not already exist …

Continue reading