XCOPY command

  • Thread starter Thread starter Vadim Teverovsky
  • Start date Start date
V

Vadim Teverovsky

I have an old application which is using XCOPY to copy
files and folders.
I have tried to figure out how XCOPY works on Win2000, and
It seems that if a directory is marked read-only, xcopy
will still copy a file into it, even with no flags set. Is
this expected/desired behavior? I would expect it to not
do that.
 
I have an old application which is using XCOPY to copy
files and folders.
I have tried to figure out how XCOPY works on Win2000, and
It seems that if a directory is marked read-only, xcopy
will still copy a file into it, even with no flags set. Is
this expected/desired behavior? I would expect it to not
do that.

Yes, expected behavior.
the read only bit on a folder is an indication to Explorer.
Everything else ignores the readonly bit on a folder.

Unable to Remove Read-Only Attribute from Folder WGID:323
ID: 256614.KB.EN-US CREATED: 2000-03-07 MODIFIED: 2003-06-03
http://support.microsoft.com/?id=256614

hth

tony

Please post all replys to group.


This posting is provided "AS IS" with no warranties, and confers no rights
 
Back
Top