>I created a folder name " - ", and now I can't delete it.
>
>It was created using the file scripting object.
>
>I tried:
>delteting it with the FSO.
>Deleting it from explorer.
>deleting it from a DOS window.
>deleteing it from a DOS window using rd "\\.\c:\ - ".
>nothing works.
>
>I'm running windows 2000.
>
>Anybody have any ideas?
I haven't tried this, but what about using the FSO as follows (VFP):
oFSO = CREATEOBJ('Scripting.FileSystemObject')
oFSCRoot = oFSO.GetFolder('C:\')
FOR EACH oFolder IN oFSCRoot.SubFolders
IF oFolder.Name = ' - '
oFolder.Delete(.t.)
ENDIF
ENDFOR