Good morning,

Our logon script copies the contents of a directory (based upon group) to a user's desktop when the user logs in. When the user logs out my boss wants the files to be deleted off of the desktop so that there is less cleanup if we need to change a users group. That being said, how would I read the contents of a directory (including directories) into an array and delete each file and directory in the top-level directory? Thanks in advance!

Hoopes