VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Deleting Directory with all the Subdirectories

Vlad Azarkhin  (1 Submission)   Files/File Controls/Input/Output   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

Delete a folder, with all it's subdirectories.

Inputs
The folder name, for example: "c:\My documents\stuff" will delete the "stuff" folder.

Assumes
Simple recursion.

Side Effects
System and hidden files will not be deleted, so the directory won't be deleted either. However You cen rewrite the function a little to work with hidden file.

Rate Deleting Directory with all the Subdirectories (5(5 Vote))
Deleting Directory with all the Subdirectories.bas

Deleting Directory with all the Subdirectories Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters