Modify

Opened 12 years ago

Closed 12 years ago

Last modified 12 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 follow-up: Changed 12 years ago by Jpm

  • Resolution set to No Bug
  • Status changed from new to closed

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.

comment:2 in reply to: ↑ 1 Changed 12 years ago by hawkear@…

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.

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

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


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

 
Note: See TracTickets for help on using tickets.