Modify

Opened 15 years ago

Closed 15 years ago

#1506 closed Bug (Works For Me)

DirCopy/FileCopy

Reported by: Steveiwonder Owned by:
Milestone: Component: AutoIt
Version: 3.3.4.0 Severity: None
Keywords: Cc:

Description

Trying to use DirCopy to copy a "Briefcase" RightClick > New> Briefcase.

FileGetAttrib() returns RD (ReadOnly Directory) So i would figure Dircopy would be the one to use? It copies but then the briefcase is corrupt.

I posted it on the forum but didnt get a resolution.
http://www.autoitscript.com/forum/index.php?showtopic=110785&st=0&p=778335&fromsearch=1&#entry778335.

Try this..

$attrib = FileGetAttrib("C:\New Briefcase")
MsgBox(0, "Attribute", "Attribute: " & $attrib) ; show file/folder attribute

DirCopy("C:\New Briefcase", "C:\testFolder", 1) ; copy the briefcase

Is this a bug or can briefcases just not be copied?

Change History (2)

comment:1 Changed 15 years ago by anonymous

Ive no idea why this was an issue, reinstalled auto it and its seems to work. Please Close.

Thanks

comment:2 Changed 15 years ago by Jon

  • Resolution set to Works For Me
  • Status changed from new to closed

My money would be on an AV related problem.

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.

Add Comment

Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.