in reply to Re^4: Moving directories on Win32
in thread Moving directories on Win32

Mostly, but not completely, there.

I had a couple of DIRREAD's nested three and four subroutines up the chain. I relocated the MOVE to be outside the last CLOSE by appending strings for the paths of the dirs to be moved into an array which is outside all of those subroutines.

After doing that, now the MOVE mostly works. It works for all but the last directory. The move on the last-in-list directory name fails no matter which directory that is. I even relocated the MOVE to be fully outside the outermost subroutine, the one with the final CLOSE and it still doesn't move.

Is there something I need to know about DIRREAD to deal with this?

Replies are listed 'Best First'.
Re^6: Moving directories on Win32
by ikegami (Patriarch) on Nov 29, 2007 at 01:03 UTC
    Code? Preferably something we can run.
      I'll have to mock something up to post. The program itself is over 2600 lines.
Re^6: Moving directories on Win32
by aplonis (Pilgrim) on Nov 28, 2007 at 23:58 UTC
    Your pardon, sirs, that is READDIR not DIRREAD, but you knew that (and so did I). Alas.