Re: Sophisticated(!) copying in DOS



"RJB" <notpublic@xxxxxxx> wrote in message
news:hPHne.12729$zb.7635@xxxxxxxxxxx
> 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...
>

Are you at a cmd prompt? Is the current directory the source directory? Is
the excludelist.txt file in the same directory? If so then don't use paths
other than the destination in the xcopy command. If you are exectuting from
a .cmd file then use the commands from my last post to make sure the current
directory is correct. If all of the above is not true then make it so and
try again. It works everytime on two seperate computers for me.


> 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: Startup takes forever when it used to take 20 seconds
    ... of explanation by invoking the command with a /? ... running Windows XP. ... Have you run a Chkdsk C: from within a Cmd prompt window? ... service was still using the registry during log off. ...
    (microsoft.public.windowsxp.general)
  • Re: Cannot Run Ping Command
    ... Normally, you open a Command ... prompt or Cmd prompt and enter the Ping with destination. ... You can invoke it from run, but it will terminate and vanish ...
    (microsoft.public.windowsxp.general)
  • RE: THIS FIXES Error number: 0x800A0046!
    ... > I, by no means, fully understand the command but have read that it sets the ... I was using a custom security template on my domain and ... >> firewall, but nothing worked. ... >> in the cmd prompt, as Tom suggested, it said that the device was not ready! ...
    (microsoft.public.windowsupdate)
  • Re: Sophisticated(!) copying in DOS
    ... I don't think that's the problem; again, when I run it using the cmd prompt, ... >> running the batch file FROM the destination laptop... ... > other than the destination in the xcopy command. ... Because if I delete the /EXCLUDE command, ...
    (microsoft.public.windowsxp.general)
  • Re: no applications
    ... > im not certain about the cmd prompt stuff ... assuming the student has had to get a handle ... Ahhh.. ... the command line. ...
    (comp.lang.java.help)