1.

Solve : problem with spacing in "Program Files"?

Answer»

Hi, I'm TRYING to delete some files from D:\Program Files\AIM, but when I type in rmdir D:\Program Files\AIM into the CMD it says
Code: [Select]D:\Program, Are you sure?(Y/N)? y
The system cannot FIND the file specified.
Files\AIM, Are you sure (Y/N)? y
The system cannot find the patch specified.
I tried USING rmdir cd "D:\Program Files\AIM" /s /q but that doesn't work either.
Then I tried rmdir ("D:\Program Files\AIM") /s /q and that doesn't work either.

Can someone please tell me what I'm doing wrong here and post and example of what I should do?

-thanks.Hello,

I am not sure of what "rmdir" is SUPPOSE to do , I think the command for delete is "del".

The following example would work :

del "D:\Program Files\AIM\*.*"
if you want to use rmdir:
rmdir "D:\Program Files\AIM\*.*"

Glad to help

Almnrmdir is for directories, not files. RD may be more familiar to you, almn...?

Zamn, you almost had it. TRY this:

Code: [Select]rmdir "D:\Program Files\AIM" /s /q
Note the lack of "cd". 8-)I forgot to try it without CD :-/ :-/

but thanks alot for telling me the correct way (:Sorry ,I misunderstood the questions :-/

Lucky your here

Almn



Discussion

No Comment Found