Hi all,
I have a folder, let's call it, Django1. The tree under that might look like this:
Django1
-A
--123.txt
-B
-A
--456.txt
-Etc
-Etc
-Etc
--file.txt
Basically, I want to copy any .txt files from any directory or subfolder within Django1 to a new destination D:\TXTs\
I've tried
All that happens is I get returned to the PowerShell prompt and nothing copies...
Any ideas?
I have a folder, let's call it, Django1. The tree under that might look like this:
Django1
-A
--123.txt
-B
-A
--456.txt
-Etc
-Etc
-Etc
--file.txt
Basically, I want to copy any .txt files from any directory or subfolder within Django1 to a new destination D:\TXTs\
I've tried
Code:
Copy-Item -Path C:\Django1\ -Recurse -Include *.txt -Destination D:\TXTs\
All that happens is I get returned to the PowerShell prompt and nothing copies...
Any ideas?