Windows Vista Forums

simple string concatenation
  1. #1


    steve Guest

    simple string concatenation

    can someone help me with this, not sure how to pass string concatenation
    paramters to a cmdlet.

    $UFLFileName = Get-Item -Path c:\ufl\copied\B4029S23_20091229_124114_20.SC2
    Rename-Item -Path $UFLFileName.FullName -NewName
    $($UFLFileName.BaseName)+".UFL"





      My System SpecsSystem Spec

  2. #2


    Rob Campbell Guest

    RE: simple string concatenation

    Rename-Item -Path $UFLFileName.FullName -NewName ($UFLFileName.BaseName +
    ".UFL")


    "steve" wrote:

    > can someone help me with this, not sure how to pass string concatenation
    > paramters to a cmdlet.
    >
    > $UFLFileName = Get-Item -Path c:\ufl\copied\B4029S23_20091229_124114_20.SC2
    > Rename-Item -Path $UFLFileName.FullName -NewName
    > $($UFLFileName.BaseName)+".UFL"
    >
    >

      My System SpecsSystem Spec

simple string concatenation problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
simple string concatenation steve PowerShell 1 21 Jan 2010
WCF converts List<string> to string[] John WinFX General 3 17 Jul 2008
problems with $var | select-string -pattern $string -q Ben Christian PowerShell 3 08 Feb 2008
How export-csv deals with string versus string[] Marco Shaw PowerShell 2 13 Jul 2007
String PRODUCT_NAME was not found in string table Extracampine Vista General 3 12 Feb 2007