|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
DOS Batch - Search and copy script
Hi,
I am no hero in scripting, so I'm asking for your help. I'm looking for a script that searches the whole hard disk and automatically copies all *.jpg files to another drive (e.g. usb stick). Can someone help me with this? greetings, nr91 |
|
#2
|
||||
|
||||
|
I wouldn't necessarily do this in DOS batch, but it can be done pretty easily.
Code:
cd c:\ copy /s *.jpg H:\ <---drive letter here The /s switch is used to make a recursive copy. Note that this will bug out if any copy error is encountered.
__________________
Click the image if at any point you don't like my decision.Scripting problems? Windows questions? Ask the Windows Guru! |
![]() |
| Viewing: ASP Free Forums > System Administration > Windows Scripting > DOS Batch - Search and copy script |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|