Hi all
I am trying to use this code
fso.DeleteFolder "X:\pub\Snapshots\"
and i don't think it deletes. What i want to do is delete all folders within the Snapshots directory. If i remove the "\" at the end of snapshots it will delete the snapshots directory... but i don't want it to delete the snapshots directory only folders within that directory.
any suggestions
I am trying to use this code
fso.DeleteFolder "X:\pub\Snapshots\"
and i don't think it deletes. What i want to do is delete all folders within the Snapshots directory. If i remove the "\" at the end of snapshots it will delete the snapshots directory... but i don't want it to delete the snapshots directory only folders within that directory.
any suggestions