Sign in to follow this  
Followers 0
dRsrb

DirMove()

4 posts in this topic

Hi! :P

Please check the example and then check the result.

Example()

Func Example()
    
    DirCreate('C:\New Folder')
    DirCreate('C:\Test Folder')
    DirCreate('C:\Test Folder (1)')
    DirCreate('C:\Test Folder (1.1)')
    
    Sleep(1500)
    
    DirMove('C:\Test Folder', 'C:\New Folder', 1)
    DirMove('C:\Test Folder (1)', 'C:\New Folder', 1)
    DirMove('C:\Test Folder (1.1)', 'C:\New Folder', 1)
    
EndFunc  ;==>Example

All folders have been moved, but the 3rd folder has been renamed! AutoIt added an extra dot!

Other character aren't affected! So this isn't normal?

Bye :unsure:

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Yes, something work wrong. Try to use DOS function MOVE.

Edited by Andreik

When the words fail... music speaks

Share this post


Link to post
Share on other sites

Thank you for your confirmation.

Do I need to report it somewhere or is someone from the dev team checking the threads in this forum?

Bye :P

Share this post


Link to post
Share on other sites

Thank you for your confirmation.

Do I need to report it somewhere or is someone from the dev team checking the threads in this forum?

Bye :P

Open a bug report here: http://www.autoitscript.com/trac/autoit (New Ticket)

Be as specific as possible.

Kurt


__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0