Re: xcopy to copy from one drive to another



I found my fix, i think...but I was waiting until I could fully confirm the
copy of ALL files and folders (empty or not) werer copied).
But, a few questions first:
1. What does the XFSave do????
2. Would the /D make the copying process faster?
3. Will the /V cause the copying process to take longer?
4. If I don't use /R, will those files not be copied?

I found my fix that was explained in much greater detail than MS states (see
link below):

My .bat file is this:
xcopy F:\ G:\ /y/e/i/s/exclude:monthly.txt

In the same folder at the .bat file is a .txt file called: monthly.txt
The montly.txt file, when I open it, says:
F:\gobackio.bin


Any line in the monthly.txt file will be excluded (which I WILL be adding
the Recycler and System Volume Information path on the next test run).
With that setup, I think all is working as it should now....hidden and
system files
are all being copied, with the exception of the file gobackio.bin.

I found the fix at:
http://www.brown.edu/Departments/Psychology/documentation/backup.html

Tracy

"Bob Harris" <rharris270[SPAM]@hotmail.com> wrote in message
news:uzmKh$%23QHHA.412@xxxxxxxxxxxxxxxxxxxxxxx
To exclude files, use the XCOPY option called "/EXCLUDE". At a command
prompt, type XCOPY /? for more information.

See sample below, which excludes all files described in EXCLUDE.TXT (There
is nothing special about this name; any *.txt file could be used).

XCOPY F:\*.* D:\XFSAVE /S /V /H /D /R /EXCLUDE:EXCLUDE.TXT

contents of my EXCLUDE.TXT file:

\RECYCLED\
\SYSTEM VOLUME INFORMATION\
\TEMP\
You can also specify single files or files with specific extensions.

"Tracy" <tracy_dsk@xxxxxxxxx> wrote in message
news:1pydnUftvMVJyyDYnZ2dnUVZ_vShnZ2d@xxxxxxxxxxxxxx
I'm trying to create a batch file so that all my files on my 2nd hard
drive
(which is F:) are copied to my external usb hard drive (which is G:)
Also...I want to NOT copy one file called gobackio.bin and the 2 folders
called Recycler and System Volume Information

I've tried using all the various ways that I can think of.
I've copied the line that I use for another xcopy but it still won't work
I want to keep the same variables at the end
xcopy F:\ G:\ /y/i/s/h/

but....that line just won't work. All I can get (from a screen shot) is
this that shows in the window:
F:\zBackups>xcopy F:\ G:\ /y/i/s/h
F:\gobackio.bin

and...there it ends...no copying is done at all.
I've tried using:
xcopy F:\*.* G:\ /y/i/s/h
xcopy F:\* G:\ /y/i/s/h
xcopy F:\*.* \G:\ /y/i/s/h
xcopy F:\ \G:\ /y/i/s/h
xcopy F:\*.* G: /y/i/s/h\
and, I think all other variations of that.

What am I doing wrong?

Tracy



.



Relevant Pages

  • Re: Disappearing disk space? - PS
    ... multiple service pack installation process detailed here: ... But when asked to reinstall my monitoring component, ... |> We do not have a complete list of the exceptions folders, however, you ... |> exclude the following from Anti-Virus Scanning: ...
    (microsoft.public.windows.server.sbs)
  • Re: Disappearing disk space?
    ... little early yet to be confident, epecially since the server was down during ... This newsgroup only focuses on SBS technical issues. ... |> We do not have a complete list of the exceptions folders, however, you ... |> exclude the following from Anti-Virus Scanning: ...
    (microsoft.public.windows.server.sbs)
  • Re: System file exclude in backup
    ... we can exclude folders by re-configure the Backup wizard but we ... cannot exclude some folders such as Windows and Program Files folder in SBS ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • Re: symantec virus scanner with exchange?
    ... hm...i will exclude the folders from the scan. ... Should i run the fix netsky tool from symantec? ... First, the M drive is NOT a real drive, it's created for Exchange by ... There are several folders and several extensions you want to ...
    (microsoft.public.exchange2000.admin)
  • Re: Windows Explorer has encountered a problem and needs to close.
    ... It may be affecting other folders / ... I'm simply a user who spent hours looking for a fix & found you guys, ... You've indicated you've run the sfc /scannow command without success, ... so that you'll be able to run a Repair install of ...
    (microsoft.public.windowsxp.help_and_support)