I would like to delete a folder that has two words with a space in between. A program I use leaves behind a folder and I wanted to make a batch file to delete it but when you list the directory with a space, cmd think you that the two words are two serperate directories. Any ideas? Thanks
(Solved) - Delete Directory that is two words in cmd(5 posts)
- View Accepted Answer
- Remove Solved Status
I realized that may have been confusing. I use a program that leaves a folder behind after running it and I want to run a batch file that deletes this folder. The problem is the folders name is blank (space) blank. when i try to run "rd /s C:\ProgramData\Blank Blank" It searches for two folders, one by the name of blank and the second by the name of blank. How to I delete that folder that has two words for the name of it in cmd. Thanks.
This topic has been closed to new replies. Please create a new topic instead.