1 questions from the last 7 days
1
vote
1
answer
94
views
Powershell copy-item replaced a directory with a file
I'm using a command similar to the one below to copy a file to a directory:
copy-item 'C:\\some\\source\\directory\filename.txt' -Destination 'T:\some\destination\dir'
C:\ is a local disk. T:\ is a ...