File Object - Mass/Mulitple File Rename

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Long time user and lover of MMF here!

    I was wondering if anyone could help me out with a little problem I have. Basically I am trying to rename all the files located in a specified folder to something else.

    I was thinking this could be accomplished by copying the contents of the specified folder into a temporary folder and randomly rename them in this new folder automatically.
    Some things that I am trying to do is rename files called "test1.txt", "test2.txt" ,etc. into a different order than before. (eg. test1.txt is now test3.txt and text2.txt is now text10.txt, or text1.txt etc.)

    A point in the right direction would be appreciated.

    Thanks!

    Edited once, last by Yelnek (January 16, 2013 at 1:10 AM).

  • If you could give some more info .do you need to rename the files back to their original name? what folders are you copying from and to?for example %temp% ? what OS as you may need admin to copy files to specific folders.

    Regards

    Ross

    Please login to see this link.

  • Thanks DJFuego for the response.

    Basically I would need to keep the original files in tacked and completely copy them to a temp folder and then randomly rename the bunch of them into a different order.
    The folder would be Appdrive$+Appdir$+"\temp files\"+"THE FILE TO RENAME".
    The OS is going to be windows. I am using Windows 7 right now.

    Basically my app needs to look at the files I have chosen to rename and discover the number of files I have picked.
    Once it knows I have chosen (lets say for instance) 10 files, then my app needs to rename and number those files randomly. This has to be done without reusing the same number twice.

  • Perhaps I need to post an example mmf file? Unfortunately I am not too sure what would be in the mmf file... haha! Any help or point in the correct direction would be much appreciated. Thanks.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!