Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Can't delete directory created by a macro ...
I created a macro to create some directories. The problem is that
when I was creating the directories i in advertently put a space at the end of the directory : X:\Microsoft\Excel\Files \ As a result, of the space, I can't seem to delete this. I get an error message 1026 saying that I can't delete the file or directory (and sometimes I get a message saying that the directory/file is not there, yet I can see it and create files in it). Is there some way for me to delete this directory? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Can't delete directory created by a macro ...
Odd, the space shouldn't really matter, but who knows. Try deleting from
the command prompt: Start---Run---cmd---ENTER X: CD Path\That\Is\Parent\Of\Problem\Dir (for example: CD Microsoft\Excel DIR /X RD NameOfProblemDirectory Ray at work "M C" wrote in message om... I created a macro to create some directories. The problem is that when I was creating the directories i in advertently put a space at the end of the directory : X:\Microsoft\Excel\Files \ As a result, of the space, I can't seem to delete this. I get an error message 1026 saying that I can't delete the file or directory (and sometimes I get a message saying that the directory/file is not there, yet I can see it and create files in it). Is there some way for me to delete this directory? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to delete a created Outlook form | Excel Discussion (Misc queries) | |||
Unknown excel backup files created in network directory | Excel Discussion (Misc queries) | |||
Change of auto backup directory has created problem | Excel Discussion (Misc queries) | |||
file save error: the file or directory cannot be created | Excel Discussion (Misc queries) | |||
Can I delete .xlk backups and why are they created? | Excel Discussion (Misc queries) |