Re: Sophisticated(!) copying in DOS



Thanks. I caught that and fixed it at some point. I have the subdirectory
mapped so it was actually \\RJBDESKTOP\SHAREDDOCS, but the full path is the
G:\LEDBER\blahblahblah.

What do you mean "make sure [I am] explicitly in the directory"? I am
running the batch file FROM the destination laptop...

Still not it... Because if I delete the /EXCLUDE command, everything copies
OK. It's just hanging on the /EXCLUDE command. Which I have put at the end
of the command line, as well.

Arrrgggghhhh....

Here's the next thing I may try:

ATTRIB +h ABC*.*
xcopy \\SOURCEPATH\etc
ATTRIB -h ABC *.*





"Kerry Brown" <kerry@xxxxxxxxxxxxxxxxxxx*a*m> wrote in message
news:ulS$Uo5ZFHA.2788@xxxxxxxxxxxxxxxxxxxxxxx
> "RJB" <notpublic@xxxxxxx> wrote in message
> news:oYFne.26046$Ub.7025@xxxxxxxxxxx
>
> <SNIP>
>
>> The only difference between what I have continually typed and what is on
>> my command prompt is that \\SOURCEPATH\SHAREDDOCS\ is actually
>> G:\\LEDBER\USERS\OPERATIONS\RJ_(My last name)\SHAREDDOCS\ and I didn't
>> really feel it was necessary to type that over and over again, when I
>> presumed we could understand \\SOURCEPATH\
>
> Unless this is another typo it is your problem. There is an extra
> backslash after G: With a long path it is sometimes easier to make sure
> you are explicitly in the directory where the files are located.
>
> e.g.
>
> G:
> CD \CURRENT_FOLDER
> XCOPY G:*.* H:\copy_files_here\ /EXCLUDE:FILELIST.TXT
>
> Make sure FILELIST.TXT and the files to be copied are in this directory.
>
> Kerry
>
>


.



Relevant Pages

  • Re: Wheres the Bock?
    ... $ cp abc def ... These error messages imply that the cp command requires two arguments, ... I'm not claiming that it's *intuitive*. ...
    (rec.arts.sf.fandom)
  • Re: Sophisticated(!) copying in DOS
    ... I have been running mostly from command instead of batch, for reasons I posted somewhere else in a fit of confusion. ... Several of them change daily, and some are specific to and must be resident on the host machine (the "ABC" files). ... Try using shorter path or local drive for the exclude file. ...
    (microsoft.public.windowsxp.general)
  • Re: question for the broken link file
    ... Right click on the abc and select properites, ... the search tool does not ... the readlink command only present where the link file ... zl2k wrote: ...
    (alt.os.linux)
  • Re: Newbie Scripting Variable Question
    ... A lot of scripters use the single back quotes to indicate a command ... The cal is evauated, the output used as input for awk, and then the awk ... is the Korn Shell by David Korn. ... # typeset -Z2 abc ...
    (comp.unix.aix)
  • Re: "Enter" a Char as Dos-Command from MatLab
    ... Ich want to control an external program from MatLab. ... You should be able to enter the number at the command line when the program needs it. ... Create a file by using touch command: ... !touch abc ...
    (comp.soft-sys.matlab)

Loading