Modify ↓
#1674 closed Feature Request (Rejected)
DirCopy()/DirMove() does not preserve the attributes of a folder
| Reported by: | Yashied | Owned by: | Jon |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | Severity: | None | |
| Keywords: | DirCopy DirMove FileGetAttrib FileSetAttrib | Cc: |
Description
The following code demonstrates this.
$sSrc = @ScriptDir & '\SRC'
$sDst = @ScriptDir & '\DST'
DirCreate($sSrc)
FileSetAttrib($sSrc, '+RS')
ConsoleWrite('SRC attributes: ' & FileGetAttrib($sSrc) & @CR)
DirCopy($sSrc, $sDst)
ConsoleWrite('DST attributes: ' & FileGetAttrib($sDst) & @CR)
Attachments (0)
Change History (4)
comment:1 by , on Jun 22, 2010 at 6:32:26 AM
| Type: | Bug → Feature Request |
|---|
comment:3 by , on Jun 24, 2010 at 8:34:44 AM
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:4 by , on Jul 16, 2012 at 9:37:11 AM
| Resolution: | → Rejected |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.

DirCopy works almost as the Xcopy Windows command.
The keeping of dir attributes is not implemented in AutoIt.
I move the ticket in the "Feature request" area