Greetings All!
I'm trying to clean up my work area after my program runs and I'm having a slight problem with removing extraneous directories. I have the line:
RmDir "Unknowns"
...when this line executes and there are files within the directory I receive an error. Is there an easy way to bypass this error or to check for the existence of files within the directory? I'm cleaning up several directories and some should have files and some won't. I just don't want to unduly alarm the user when an error message pops up.
------------------
Don Ewald
mailto:[email protected][email protected]</A>
I'm trying to clean up my work area after my program runs and I'm having a slight problem with removing extraneous directories. I have the line:
RmDir "Unknowns"
...when this line executes and there are files within the directory I receive an error. Is there an easy way to bypass this error or to check for the existence of files within the directory? I'm cleaning up several directories and some should have files and some won't. I just don't want to unduly alarm the user when an error message pops up.
------------------
Don Ewald
mailto:[email protected][email protected]</A>
Comment