Modify ↓
Opened 16 years ago
Closed 14 years ago
#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 , 16 years ago
| Type: | Bug → Feature Request |
|---|
comment:3 by , 16 years ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:4 by , 14 years ago
| 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