View Full Version : removing a directory that exceeds 256 charachters


Armando
02-25-2004, 05:29 PM
I am trying to remove a directory whose path exceeds the
256 charachter long filename limitation. "del" does not
do anything and "rmdir" returns with the error that says
the directory is not empty. Any suggestions?

Bob I
02-25-2004, 06:05 PM
Try renaming the sub-directories in the path to reduce the path length?

Armando wrote:

> I am trying to remove a directory whose path exceeds the
> 256 charachter long filename limitation. "del" does not
> do anything and "rmdir" returns with the error that says
> the directory is not empty. Any suggestions?
>

Bob I
02-25-2004, 06:05 PM
Try renaming the sub-directories in the path to reduce the path length?

Armando wrote:

> I am trying to remove a directory whose path exceeds the
> 256 charachter long filename limitation. "del" does not
> do anything and "rmdir" returns with the error that says
> the directory is not empty. Any suggestions?
>

Al Dunbar [MS-MVP]
02-25-2004, 06:17 PM
Or set the default to the folder it is contained in and delete it by its
name only. If still too long, find its 8.3 name with:

dir/ad /x

and delete it with that name.

/Al

"Bob I" <birelan@yahoo.com> wrote in message
news:403CE3FF.9060807@yahoo.com...
> Try renaming the sub-directories in the path to reduce the path length?
>
> Armando wrote:
>
> > I am trying to remove a directory whose path exceeds the
> > 256 charachter long filename limitation. "del" does not
> > do anything and "rmdir" returns with the error that says
> > the directory is not empty. Any suggestions?
> >
>

Al Dunbar [MS-MVP]
02-25-2004, 06:17 PM
Or set the default to the folder it is contained in and delete it by its
name only. If still too long, find its 8.3 name with:

dir/ad /x

and delete it with that name.

/Al

"Bob I" <birelan@yahoo.com> wrote in message
news:403CE3FF.9060807@yahoo.com...
> Try renaming the sub-directories in the path to reduce the path length?
>
> Armando wrote:
>
> > I am trying to remove a directory whose path exceeds the
> > 256 charachter long filename limitation. "del" does not
> > do anything and "rmdir" returns with the error that says
> > the directory is not empty. Any suggestions?
> >
>

02-25-2004, 06:18 PM
Thanks
>-----Original Message-----
>Try renaming the sub-directories in the path to reduce
the path length?
>
>Armando wrote:
>
>> I am trying to remove a directory whose path exceeds
the
>> 256 charachter long filename limitation. "del" does
not
>> do anything and "rmdir" returns with the error that
says
>> the directory is not empty. Any suggestions?
>>
>
>.
>

02-25-2004, 06:18 PM
Thanks
>-----Original Message-----
>Try renaming the sub-directories in the path to reduce
the path length?
>
>Armando wrote:
>
>> I am trying to remove a directory whose path exceeds
the
>> 256 charachter long filename limitation. "del" does
not
>> do anything and "rmdir" returns with the error that
says
>> the directory is not empty. Any suggestions?
>>
>
>.
>