|
#1
|
|||
|
|||
Delete a directory
Is there an easy way to delete a directory and all subdirectories as a step in Visual Build Pro?
Thanks, James |
#2
|
|||
|
|||
A Run Program command of
%DOSCMD% rd /s /q "drive+path" would do it. |
#3
|
|||
|
|||
Hi James,
Hmm, seems to delete everything for me. Looking at my step now I also have the "force" parameter for deleting read-only folders, maybe one of your folders (or subfolders) has the read-only attribute set. vbld_FSO.DeleteFolder "path", True Happy Deleting, -Corey |
Thread Tools | |
Display Modes | Rate This Thread |
|
|