markbellki
Technical User
I've got myself in a real knot - not thinking straight.
I would like to know how to delete folders and files within folders.
eg the directory structure looks similar to this:
c:\objects
c:\objects\12345678
c:\objects\12345678\i.pal
c:\objects\12345678\lamp.pal
c:\objects\12345678\idle
c:\objects\12345678\idle\idle.ani
c:\objects\12345678\ne
c:\objects\12345678\ne\ne.ani
c:\objects\12345678\nw
c:\objects\12345678\nw\nw.ani
c:\scenery
c:\scenery\other
c:\scenery\other\12345678.ucs
I know that you can't do recursive calls of the Dir function and am at a bit of a loss.
I would like to know how to delete folders and files within folders.
eg the directory structure looks similar to this:
c:\objects
c:\objects\12345678
c:\objects\12345678\i.pal
c:\objects\12345678\lamp.pal
c:\objects\12345678\idle
c:\objects\12345678\idle\idle.ani
c:\objects\12345678\ne
c:\objects\12345678\ne\ne.ani
c:\objects\12345678\nw
c:\objects\12345678\nw\nw.ani
c:\scenery
c:\scenery\other
c:\scenery\other\12345678.ucs
I know that you can't do recursive calls of the Dir function and am at a bit of a loss.