Modify ↓
Opened 15 years ago
Closed 12 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 Changed 15 years ago by Jpm
- Type changed from Bug to Feature Request
comment:3 Changed 15 years ago by Jpm
- Owner set to Jon
- Status changed from new to assigned
comment:4 Changed 12 years ago by trancexx
- Resolution set to Rejected
- Status changed from assigned to closed
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
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