Link to home
Start Free TrialLog in
Avatar of mjhines
mjhines

asked on

Copying / Backup of only certain file types.

OK... Here's the deal.

I need to archive some data from the corporate nework with this contraints:

1. I have 30-40 GB of data on the coporate network.  
2. I need to archive about 1/2 of the data according to 4 different file extensions.  
3. I need to maintain the origional paths for the files.
4. I am limited to using only installed corporate software on the computer.  (Neo DVD Burn software)
5. I have about 9 GB free space on the network to potentially copy files to before burning to DVD.
6. Running Windows 2000

Can I do something with changing the archive bit to accomplish this and some kind of xcopy?

Much thanks for your help.
Avatar of pjedmond
pjedmond
Flag of United Kingdom of Great Britain and Northern Ireland image

REM Set archive attributes on files to be copied
ATTRIB +A C:\*.exe /S
ATTRIB +A C:\*.txt /S

REM Copy the files and reset the achive attributes
XCOPY source destination /M /E /V /H /K /O
ASKER CERTIFIED SOLUTION
Avatar of pjedmond
pjedmond
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mjhines
mjhines

ASKER

Thanks... that is exactly what I was thinking of.