Re: Sophisticated(!) copying in DOS
- From: "Kerry Brown" <kerry@xxxxxxxxxxxxxxxxxxx*a*m>
- Date: Thu, 2 Jun 2005 12:13:09 -0700
"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
>>
>>
>
>
.
- Follow-Ups:
- Re: Sophisticated(!) copying in DOS
- From: RJB
- Re: Sophisticated(!) copying in DOS
- References:
- Re: Sophisticated(!) copying in DOS
- From: RJB
- Re: Sophisticated(!) copying in DOS
- From: Pegasus \(MVP\)
- Re: Sophisticated(!) copying in DOS
- From: RJB
- Re: Sophisticated(!) copying in DOS
- From: Pegasus \(MVP\)
- Re: Sophisticated(!) copying in DOS
- From: RJB
- Re: Sophisticated(!) copying in DOS
- From: Pegasus \(MVP\)
- Re: Sophisticated(!) copying in DOS
- From: RJB
- Re: Sophisticated(!) copying in DOS
- From: Kerry Brown
- Re: Sophisticated(!) copying in DOS
- From: RJB
- Re: Sophisticated(!) copying in DOS
- Prev by Date: Re: How to backup files with WXP?
- Next by Date: unable to map a network drive in loginscript
- Previous by thread: Re: Sophisticated(!) copying in DOS
- Next by thread: Re: Sophisticated(!) copying in DOS
- Index(es):
Relevant Pages
|
Loading