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 J-Paul Mesnage, 16 years ago

Type: BugFeature Request

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

comment:2 by TicketCleanup, 16 years ago

Version: 3.3.6.0

Automatic ticket cleanup.

comment:3 by J-Paul Mesnage, 16 years ago

Owner: set to Jon
Status: newassigned

comment:4 by trancexx, 14 years ago

Resolution: Rejected
Status: assignedclosed

Modify Ticket

Action
as closed The owner will remain Jon.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.