Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Response to close thread

Status
Not open for further replies.

TheKidd

IS-IT--Management
May 17, 2000
167
US
thread1619-1715904

You can use
Code:
$myEmailExt="@efaxsend.com"
$myFiles=Split-Path "C:\staging\*.pdf" -Leaf -Resolve
foreach ($myFile in $myFiles) {
  $myFile=$myFile.Remove(10)
  $myEmailAddr="$myFile$myEmailExt"
  $myEmailAddr
}
 
I expect in the last year or so that the OP may have already found a solution ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top