M
Mel
2003/2007
(This has to do with PowerPoint VBA, but I'm asking here because
theres a lot more VBA users here.)
Is there a way to run a batch-like command line to delete a folder
from within routine without calling to an external BAT or CMD file?
I'm trying to simply delete some folders within which is an addin that
my code already unloaded
and removed and unregistered, and now I want its folders deleted
(within the same PPT session that started the macro). But PPT holds on
to the addin file thinking it's still being used (which it's not) and
won't let RmDir or Kill code remove it. (Known problem with PPT.) BUT
I can make the code run an external CMD file consisting of "RMDIR C:
\foldername /s /q" and it works fine. The problem is, I'd rather not
use an external file. Is there another way to call it from within the
routine but use some sort of Shell command or something (without using
an external file)?
Thanks,
Melina
(This has to do with PowerPoint VBA, but I'm asking here because
theres a lot more VBA users here.)
Is there a way to run a batch-like command line to delete a folder
from within routine without calling to an external BAT or CMD file?
I'm trying to simply delete some folders within which is an addin that
my code already unloaded
and removed and unregistered, and now I want its folders deleted
(within the same PPT session that started the macro). But PPT holds on
to the addin file thinking it's still being used (which it's not) and
won't let RmDir or Kill code remove it. (Known problem with PPT.) BUT
I can make the code run an external CMD file consisting of "RMDIR C:
\foldername /s /q" and it works fine. The problem is, I'd rather not
use an external file. Is there another way to call it from within the
routine but use some sort of Shell command or something (without using
an external file)?
Thanks,
Melina