Click to See Complete Forum and Search --> : Deleting Directories


Christopher
November 28th, 1998, 10:12 AM
Any one know of a way to delete a directory and all its contents

from VB5. rmdir will only work if it is empty and kill only works on files!??


HELP!


christopher

christopher
November 28th, 1998, 10:12 AM
Any one know of a way to delete a directory and all its contents

from VB5. rmdir will only work if it is empty and kill only works on files!??


HELP!


christopher

Christopher
November 29th, 1998, 05:48 PM
Ah well.. invention being the mother a of invention!? or is that the other way around!??


it looks like the only solution i was able to come up with myself was the issue a command like so...


a = Shell("deltree /y " + , 0)


Where is the name and path of the folder to be deleted.


Cya..

christopher
November 29th, 1998, 05:48 PM
Ah well.. invention being the mother a of invention!? or is that the other way around!??


it looks like the only solution i was able to come up with myself was the issue a command like so...


a = Shell("deltree /y " + , 0)


Where is the name and path of the folder to be deleted.


Cya..

Christopher
November 29th, 1998, 05:51 PM
Ah well.. invention being the mother a of invention!? or is that the other way around!??


it looks like the only solution i was able to come up with myself was the issue a command like so...


a = Shell("deltree /y " + filename$, 0)


Where filename$ is the name and path of the folder to be deleted.


Cya..

christopher
November 29th, 1998, 05:51 PM
Ah well.. invention being the mother a of invention!? or is that the other way around!??


it looks like the only solution i was able to come up with myself was the issue a command like so...


a = Shell("deltree /y " + filename$, 0)


Where filename$ is the name and path of the folder to be deleted.


Cya..