A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Renaming Folders - Zinc 2.5

  1. #1
    Member
    Join Date
    Jun 2007
    Posts
    67

    Renaming Folders - Zinc 2.5

    ok so ive had zinc 2.5 for ages and barely use flash much anymore.
    i was organizing the folders of pictures ive taken on my camera on my computer before, and i decided that i would create a flash application to change all the folder names.
    I have hundreds of folders with subjects on them containing sub folders that are called when the pictures in that folder were taken, except in the format DD-MM-YYYY which is ugly and hard to read, and doesnt get sorted in order.

    what i mean is i want to convert a folder thats called this:
    7-2-2008
    which would be February 7th, 2008 to a format like this:
    2008, February 7th

    I figured that would be fairly easy to do with flash 8 and Zinc 2.5, which it would be, except i cant find the folder rename function anywhere in the Zinc 2.5 help index. I cant even find a file rename thing.
    Can Zinc 2.5 even rename folders/files?
    if so, some help would be appreciated!

    i dont really want to go and purchase some other program just to make this application

    much thanks in advance!

  2. #2
    Lifetime Friend of Site Staff Northcode's Avatar
    Join Date
    Dec 2000
    Location
    Whitehorse YT
    Posts
    3,764
    If you can use Zinc to get a file list then you can run through the file list in Flash and create a BAT file on the fly (for each folder) that does the renaming for you and just run that BAT file. That's probably the easiest solution if you're not a regular Zinc user and can't find or remember the right command (assuming they had one).

  3. #3
    Member
    Join Date
    Jun 2007
    Posts
    67
    thats an excellent idea! thanks for the help.

    i dont think they do have a command. its not written anywhere in the help section.

  4. #4
    Developer dVyper's Avatar
    Join Date
    Oct 2008
    Location
    UK
    Posts
    168
    Hi,

    Try FileSystem.getFileList()

  5. #5
    Junior Member
    Join Date
    Oct 2008
    Posts
    4
    use instead .bat
    Code:
    var StdOut = mdm.System.execStdOut("cmd /c move Folder new_Folder");

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center