Hi,
Whe i run this script it creates a folder instead of a file
$base = "c:\FTPDownloads\"
$ext = "*.avi"
$source = "c:\downloads\New Folder (2)\"
$astrix = "*"
$sourcetrix = $source+$ext
$destination = $base+(split-path -leaf $source)
$source
$destination
$sourcetrix
copy-item -path $sourcetrix -destination $destination
Can anyone help??
Alter De Ruine