Støv, fibre og metalliske partikler kan påvirke både uptime, levetid og driftssikkerhed. Derfor arbejder flere datacentre systematisk med contamination control.
source Specifies the file(s) to copy. destination Specifies the location and/or name of new files. /A Copies only files with the archive attribute set, doesn't change the attribute. /M Copies only files with the archive attribute set, turns off the archive attribute. /D:m-d-y Copies files changed on or after the specified date. If no date is given, copies only those files whose source time is newer than the destination time. /EXCLUDE:file1[+file2][+file3]... Specifies a list of files containing strings. Each string should be in a separate line in the files. When any of the strings match any part of the absolute path of the file to be copied, that file will be excluded from being copied. For example, specifying a string like \obj\ or .obj will exclude all files underneath the directory obj or all files with the .obj extension respectively. /P Prompts you before creating each destination file. /S Copies directories and subdirectories except empty ones. /E Copies directories and subdirectories, including empty ones. Same as /S /E. May be used to modify /T. /V Verifies each new file. /W Prompts you to press a key before copying. /C Continues copying even if errors occur. /I If destination does not exist and copying more than one file, assumes that destination must be a directory. /Q Does not display file names while copying. /F Displays full source and destination file names while copying. /L Displays files that would be copied. /G Allows the copying of encrypted files to destination that does not support encryption. /H Copies hidden and system files also. /R Overwrites read-only files. /T Creates directory structure, but does not copy files. Does not include empty directories or subdirectories. /T /E includes empty directories and subdirectories. /U Copies only files that already exist in destination. /K Copies attributes. Normal Xcopy will reset read-only attributes. /N Copies using the generated short names. /O Copies file ownership and ACL information. /X Copies file audit settings (implies /O). /Y Suppresses prompting to confirm you want to overwrite an existing destination file. /-Y Causes prompting to confirm you want to overwrite an existing destination file. /Z Copies networked files in restartable mode.
The switch /Y may be preset in the COPYCMD environment variable. This may be overridden with /-Y on the command line.
Synes godt om
Slettet bruger
20. december 2002 - 18:10#2
Okay...en masse gode kommandoer. men jeg er desværre så ny i bat filer, så jeg måske ikke forstår helt hvad jeg skal gøre ved min bat fil. Eller hvordan jeg kobler kommandoerne. Hvad er der galt med den jeg har lavet, siden den ikke virker? Er det fordi jeg skal bruge Xcopy istedet, eller mangler jeg nogle klammer omkring??
hmmm... takker men hvorfor kopierer den kun løse dokumenter i mappen test og ikke mapper som ligger i mappen test? det er meningen den skal kopiere hele mappen test og alt hvad den indeholder over på F drev og overskrive de samme mapper derovre. Senere vil jeg så få den til kun at kopiere de ændrede mapper.
Det hjalp lidt. Ser ud til at kopierings funktion virker. har kopieret en fil siger den. men test.doc i mappen test på f drev har ikke ændret sig. er stadig på 20 kb hvor test.doc på d i test mappen er 158 kb. xcopy er det en xp ting?
Men /E muligheden er fjernet fra Copy kommandoen i XP.
Synes godt om
Slettet bruger
21. december 2002 - 16:00#23
'Xcopy d:\test\*.* f:\test\ /E /Y' Den virkede....
Synes godt om
Slettet bruger
21. december 2002 - 16:47#24
Xcopy C:\Documents and Settings\ct\Lokale indstillinger\Application Data\Microsoft\Outlook\ *.* f:\Outlook\ /E/y
kan du sige mig hvad der er galt med denne? Siger ugyldigt antal parametre.
Det den skal er at kopiere indholdet af outlook mappen (3 filer) over på F:/outlook og overskrive de gamle backupfiler på f:/outlook. Men den skal lade det doc dokument der ligger på F./otlook blive.
Xcopy "C:\Documents and Settings\ct\Lokale indstillinger\Application Data\Microsoft\Outlook\*.*" f:\Outlook\ /E /y
Synes godt om
Slettet bruger
22. december 2002 - 21:14#26
Nå...så skal der pludselig sit. tegn omkring?? takker for hjælpen.
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.