Browse Forum Posts by Tags

Showing related tags and posts for the Learn PowerShell forum. See all tags in the site
  • Simple concat based on wildcard

    I am writing a script that takes two parameters, sourceFile and destFile. sourceFile will include a wildcard and grab all matching text files, then concatenate them into the destFile. I thought it should be as simple as: param([string]$sourceFile, [string]$destFile) cat $sourceFile > $destFile The...
    Posted to Learn PowerShell (Forum) by andsowouldi on 04-12-2011
    Filed under: newline, cat, concatenate
Page 1 of 1 (1 items)
Copyright 2012 PowerShell.com. All rights reserved.