Jump to content

[ Solved] Need help with DirRemove


 Share

Recommended Posts

Hi all

Is that anobody here that know some command or how to delete all directory on a drive?

Example if a have a drive f: and i have folders Test1, Test2,Test3, sound, programs and I want to delete all this folders what to do?

Edited by Borje
Link to comment
Share on other sites

Hi Borje,

try reading all directorynames to an array via _FileListToArray() (see helpfile for function reference),

Then you can loop through that array and delete all folders.

You could also do a Quick format, if you want to delete everything on that drive. :unsure:

Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler]
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...