How can I delete dirs with spaces at the end like a dir named "Frank ".
When I try to delete it with explorer it says: Cannot delete file: File
system error (1026).
Regards,
Frank Howell
Try it from the DOS command line, surrounding the name and trailing
spaces with quotes, just as you did in your post.
--
Tim Slattery
MS MVP(DTS)
Slatt...@bls.gov
>Hello,
>
>How can I delete dirs with spaces at the end like a dir named "Frank ".
>When I try to delete it with explorer it says: Cannot delete file: File
>system error (1026).
>
>Regards,
>
>Frank Howell
>
Open a DOS window and enter (for example)
DELTREE C:\MYFILES\FRAN*.*
You should probably test the command by entering
DIR C:\MYFILES\FRAN*.* /S
Generally everything you see listed by the DIR command will be deleted
when you use DELTREE. It will ask you to confirm the deletes.
Good luck.
Ron Martell Duncan B.C. Canada
--
Microsoft MVP
On-Line Help Computer Service
http://onlinehelp.bc.ca
"Software is a gas. It expands to fill whatever container it is placed in."
Tim Slattery wrote in message ...
>"Frank Howell" <Frank....@hetnet.nl> wrote:
>
>>Hello,
>>
>>How can I delete dirs with spaces at the end like a dir named "Frank ".
>>When I try to delete it with explorer it says: Cannot delete file: File
>>system error (1026).
>>
>>Regards,
>>
>>Frank Howell
>>
>
James Polyard wrote in message <37F28874...@wabasha.net>...
>Can you rename the directory to something valid?
>James
>
>
"Open a DOS window and enter (for example)
DELTREE C:\MYFILES\FRAN*.*
You should probably test the command by entering
DIR C:\MYFILES\FRAN*.* /S
Generally everything you see listed by the DIR command will be deleted
when you use DELTREE. It will ask you to confirm the deletes.
Good luck."
--
Tom Porterfield
MS-MVP
Frank Howell <Frank....@hetnet.nl> wrote in message
news:eWducwwC$GA.306@net025s...
> I've tried this, but it didn't work...
>
> Tim Slattery wrote in message ...
> >"Frank Howell" <Frank....@hetnet.nl> wrote:
> >
> >>Hello,
> >>
> >>How can I delete dirs with spaces at the end like a dir named "Frank
".
> >>When I try to delete it with explorer it says: Cannot delete file:
File
> >>system error (1026).
> >>
> >>Regards,
> >>
> >>Frank Howell
> >>
> >