To delete a folder and its content a File Operation element must be used,leaving the "Source file(s)" empty it will remove the folder and its content.
Adding any value in "Source file(s)" will only delete those files but will not delete the folder.
Example below shows how to remove the folder "14" from the selected path $ShellAppData\Microsoft\Building Blocks\1033\14
Dynamic Variable $ShellAppData is resolved as "C:\Users\\roaming" and when executed the path to be delete will be
C:\Users\\roaming\Microsoft\Building Blocks\1033\14
Note: A full list of the Dynamic Variables available can be found in the Desktop Authority Administration Guide or hitting key F2 with the focus on any text field.
Image below may be used as reference to configure a File Operation Element to remove the folder.
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center