XCOPY and XP

Posted: 10-15-2003, 03:06 AM
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
Reply With Quote

Responses to "XCOPY and XP"

Bquinn
Guest
Posts: n/a
 
Re: XCOPY and XP
Posted: 10-15-2003, 03:50 AM
Recommend - http://www.karenware.com/powertools/ptreplicator.asp


"Paul" <paulb1us@yahoo.com> wrote in message
news:2af8101c392c0$f4088100$a601280a@phx.gbl...
> 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

Reply With Quote
Paul
Guest
Posts: n/a
 
Re: XCOPY and XP
Posted: 10-15-2003, 05:49 PM
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.
>-----Original Message-----
>Recommend -
http://www.karenware.com/powertools/ptreplicator.asp
>
>
>"Paul" <paulb1us@yahoo.com> wrote in message
>news:2af8101c392c0$f4088100$a601280a@phx.gbl...
>> 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
>
>
>.
>
Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Xcopy bugs? Robert McDonald Windows XP Help & Support 2 11-17-2003 01:21 PM
how do i use xcopy? fallon Windows XP New Users 1 09-17-2003 04:10 AM
/m switch with XCOPY Benny Huff Windows XP Network & Web 0 07-29-2003 01:34 AM
XCOPY help syntax Frank \(MS\) Windows XP Help & Support 0 07-23-2003 04:17 PM
xcopy Gopi Windows XP Basics 2 07-11-2003 04:33 AM


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90