XCOPY and XP

  • Thread starter Thread starter Paul
  • Start date Start date
P

Paul

I have a batch file that uses XCOPY to move files from one
machine to another.

I have permissions set on a windows 2003 shared directory
that allow a certain AD group to move files here, but not
to delete them or overwrite them.

the line in the batch file looks like this

xcopy c:\source \\machine1\source\ /s /e

The c:\source directory has sub directories undeer it
where the files are, They move into a mathing directory
under the source directory on machine1.

Everything has been working fine with the win98 machines
moving files to the windows 2003 server, but when I
changed one of the win98 machines to XP Pro, I can no
longer move files to the 2003 server machine, I get
a 'Access denied' error.

But I can use explorer to move the files to machine1. and
using explorere the permissions work correctly, meaning I
can copy the files to machine1 but can't delete or
overwrite them.

The 'access denied' only occurs when I use XCOPY in the
batch file or at a command prompt.

If I set the shared directory permissions to FULL for the
group in question, then the batch file works. But when
using explorer to copy the files the permissions work
correctly when set in their restrictive mode.

any ideas

Paul
 
Thanks, but the batch file that moves the files does more
than just move them so I'm not really interested in a tool
that moves files. I'm interested in finding out why XCOPY
behaves this way under XP when there are security
permissions set up on the PC you are moving to.
 
Back
Top