Scripting to Delete multiple files and folders.
I'm trying to create a script to delete multiple files and folders (both empty and full) from numerous folders.
For example, the students will log on as EPupil01 for an exam.
They will then create work and save it to \\server\share\path.
However, I need to be able to copy over this work into another folder, then delete it once the copying is complete.
I have already completed a batch file that will copy the files, but I can't seem to find any scripts that will delete all files and folders, without deleting the directory itself.
Any help would be much appreciated.