Hi, George
This is exactly what i want to do at the moment. The difference is, on a multi-purpose dialog, I've already got the folder name ( the user may want to look in it, assign it as his default dir or, indeed, delete it and all its sub-folders and files).
Your little snippet works fine but could you please tell me how it can be adapted to delete an already-known folder? I can't find anything on Intellisense that would do and i don't know the syntax of the properties anyway.
'ppreciate it
Terry
>The Windows Script Host
oFSO = CREATEOBJECT("Scripting.FileSystemObject")
>oFolder = oFSO.GetFolder(GETDIR())
>oFolder.Delete(.T.)
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.