Login Register


About copying file filter_list
Author
Message
About copying file #1
I want to copy all .txt files from "C:\" to "D:\" for example (include copying files from "Documents and Settings", "WINDOWS", etc). How can I do that?

Reply

RE: About copying file #2
This is fairly simple to do and could have been answered straight away with a simple google search:
Code:
for /r %x in (*.txt) do copy "%x" D:\targetDir\ /Y
If you need help feel free to PM me
[Image: klfpJD]
Probitcoin
Freebitcoin
BTC clicks
bitcoin wallet:
1FBPAanbs3rJU9BUpobpDJc9hHUaCaC25N

Reply

RE: About copying file #3
(04-08-2014, 03:58 PM)chmod Wrote: This is fairly simple to do and could have been answered straight away with a simple google search:
Code:
for /r %x in (*.txt) do copy "%x" D:\targetDir\ /Y

Tks for your reply. I've tried this code but nothing happen Sad. And I want to know where is "C:\...\" in the code

Reply

RE: About copying file #4
I've found this code
Code:
xcopy "c:\folder a\folder b\my folder\*.*" "c:\*.*" /s /e /c
which is what I'm looking for. This topic can be closed now

Reply

RE: About copying file #5
I think you can do something like
Code:
copy C:\*\*.txt D:\
90% sure this would work but @chmod's looks more legit
It's often the outcasts, the iconoclasts ... those who have the least to lose because they
don't have much in the first place, who feel the new currents and ride them the farthest.

Reply

RE: About copying file #6
(04-11-2014, 09:40 PM)w0lf Wrote: I think you can do something like
Code:
copy C:\*\*.txt D:\
90% sure this would work but @chmod's looks more legit
I've tried it and it didn't work. I think you can't write "\*\" as all folders

Reply

RE: About copying file #7
(04-12-2014, 01:16 AM)pijero1stjudnt Wrote:
(04-11-2014, 09:40 PM)w0lf Wrote: I think you can do something like
Code:
copy C:\*\*.txt D:\
90% sure this would work but @chmod's looks more legit
I've tried it and it didn't work. I think you can't write "\*\" as all folders
scratch what I said before, I think all you need to do for C:\ is C:\*.txt
It's often the outcasts, the iconoclasts ... those who have the least to lose because they
don't have much in the first place, who feel the new currents and ride them the farthest.

Reply







Users browsing this thread: 1 Guest(s)