I get the follow error when trying to delete an empty folder


RD "R:\New Folder" /S or RD "R:\New Folder\" /S
? @ERROR
? @SERROR

2
The system cannot find the file specified.

If I run the same command with a subfoler I get the same error.
If I run the same command with a text file in the folder it deletes the folder and returns a success

If the subfolder has a folder which has other folders and files it still returns an error.

I get the same result for both local and network drive.
I haven't tried it on a share.


Edited by oneill3 (2006-01-18 06:13 AM)