XCOPY and XP

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
 
P

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

XCOPY in XP 4
xcopy file with time stamp 1
xcopy files older week 2
SP2 -vs- XCOPY 3
Xcopy help 7
XCOPY Across A Network? 3
Xcopy 9
cannot see shared folders of one computer 1

Top