Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#313 closed Bug (No Bug)

DirMove on same volume

Reported by: hawkear@… Owned by:
Milestone: Component: AutoIt
Version: 3.2.12.0 Severity: None
Keywords: DirMove Cc:

Description

+---Dirtest1
|   \---Subdir
|           somefile.txt
|           
+---Dirtest2
|   \---Subdir
DirMove("C:\Dirtest1\Subdir","C:\Dirtest2",1)

Should be:

+---Dirtest1
+---Dirtest2
|   \---Subdir
|           somefile.txt

Is:

+---Dirtest1
+---Dirtest2
|   \---Subdir
|       \---Subdir
|               somefile.txt

If Dirtest1 and Dirtest2 are on different Volumes, it works

Attachments (0)

Change History (2)

comment:1 by J-Paul Mesnage, 18 years ago

Resolution: No Bug
Status: newclosed

I don't know why this functions was implemented as such but there is no error as the doc say

If the destination already exists and the overwrite flag is specified then the source directory will be moved inside the destination.

in reply to:  1 comment:2 by hawkear@…, 18 years ago

Replying to Jpm:

I don't know why this functions was implemented as such but there is no error as the doc say

If the destination already exists and the overwrite flag is specified then the source directory will be moved inside the destination.

But the directory is not moved inside the destination, it ist moved inside a subdirectory with the same name as the source directory, if it exists in the destination.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


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