The answer to this question is almost certainly related to another one I posed a while back (http://communities.sas.com/message/110494#110494), but this one probably warrants a new thread: is it possible to rename or delete a folder using JSL? The earlier thread contains a script contributed by MattF showing how a file can be renamed or deleted, but I now find that I need to delete not only the file itself but the folder containing it. Can that be done? (I've tried using the same script but simply substituting the name of the folder instead of the file name, but that doesn't seem to work - unless I've made an error, which I don't think I have - and I can't see any command that looks as though it might perform that task at http://msdn.microsoft.com/en-us/library/aa365239(VS.85).aspx).
On a related point, is it possible to get a list of all the tasks that can be performed using the object called "kernel32" in the earlier script?
Many thanks,
David