Opened 13 years ago
Closed 13 years ago
#1999 closed Bug (No Bug)
DirCopy and DirMove have some bugs
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Milestone: | Component: | AutoIt | |
Version: | 3.3.6.1 | Severity: | None |
Keywords: | Cc: |
Description
DirCopy - When I copy a dir to another place like this:
DirCopy("vir_sig", "%HOMEDRIVE%\", 1)
Instead of copy the vir_sig folder it copy the contents of the vir_sig folder to %HOMEDRIVE%\
But using DirCopy("vir_sig", "%HOMEDRIVE%\vir_sig", 1) works
DirMove - When I move a folder using the overwrite option to another folder that has a folder with the same name and, instead of overwriting, it moves the folder inside the destination folder, ex:
DirMove("%HOMEDRIVE%\vir_sig", $forticlient_path & "FortiClient", 1)
will make the folder ...FortiClient\vir_sig\vir_sig where the last vir_sig is the moved folder.
To solve this I had to delete the already existing folder:
DirRemove($forticlient_path & "FortiClient\vir_sig", 1)
DirMove("%HOMEDRIVE%\vir_sig", $forticlient_path & "FortiClient", 1)
Attachments (0)
Change History (1)
comment:1 Changed 13 years ago by Valik
- Resolution set to No Bug
- Status changed from new 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.
So you reported a bug about documented behavior. Good job!