PC Review


Reply
Thread Tools Rate Thread

Re: How can I delete files with trailing spaces?

 
 
Gary G. Little
Guest
Posts: n/a
 
      1st Oct 2003
go to a 32 bit command line window and do "del 0303*".

--
Gary G. Little
Seagate Technologies, LLC

"Ghandi" <(E-Mail Removed)> wrote in message
news:0bee01c38858$3adeb7c0$(E-Mail Removed)...
> There are some BIG files that were put on my system by
> someone who got in through FTP that I can not delete.
> For example when I try to delete "030316834745 ", I get
> the following error:
>
> Error: Cannot delete file: Cannot read from source file
> or disk.
>
>



 
Reply With Quote
 
 
 
 
Drew Cooper [MSFT]
Guest
Posts: n/a
 
      1st Oct 2003
A couple more options in case Gary's solution isn't enough :
1. Start renaming the nested folders to something short - one character.
Keep going deeper into the folder tree until you have something short enough
for Explorer to delete.
2. If you have 8.3 short names enabled, you can use "dir /x" at the cmdline.
If you have really long directory names, this could give you a short enough
name that you can delete (or "rd /s") outright.

--
Drew Cooper [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.


"Gary G. Little" <(E-Mail Removed)> wrote in message
news:vLGeb.1421$(E-Mail Removed)...
> go to a 32 bit command line window and do "del 0303*".
>
> --
> Gary G. Little
> Seagate Technologies, LLC
>
> "Ghandi" <(E-Mail Removed)> wrote in message
> news:0bee01c38858$3adeb7c0$(E-Mail Removed)...
> > There are some BIG files that were put on my system by
> > someone who got in through FTP that I can not delete.
> > For example when I try to delete "030316834745 ", I get
> > the following error:
> >
> > Error: Cannot delete file: Cannot read from source file
> > or disk.
> >
> >

>
>



 
Reply With Quote
 
Ghandi
Guest
Posts: n/a
 
      2nd Oct 2003
Thanks Drew. Your suggestion of using dir /x was the
ticket. The actual file/folder names which were much
different than then appear using windows or dir. Once
revealed I could use rmdir and del to remove them.


>-----Original Message-----
>A couple more options in case Gary's solution isn't

enough :
>1. Start renaming the nested folders to something short -

one character.
>Keep going deeper into the folder tree until you have

something short enough
>for Explorer to delete.
>2. If you have 8.3 short names enabled, you can

use "dir /x" at the cmdline.
>If you have really long directory names, this could give

you a short enough
>name that you can delete (or "rd /s") outright.
>
>--
>Drew Cooper [MSFT]
>This posting is provided "AS IS" with no warranties, and

confers no rights.
>
>
>"Gary G. Little" <(E-Mail Removed)> wrote

in message
>news:vLGeb.1421$(E-Mail Removed)...
>> go to a 32 bit command line window and do "del 0303*".
>>
>> --
>> Gary G. Little
>> Seagate Technologies, LLC
>>
>> "Ghandi" <(E-Mail Removed)> wrote in message
>> news:0bee01c38858$3adeb7c0$(E-Mail Removed)...
>> > There are some BIG files that were put on my system by
>> > someone who got in through FTP that I can not delete.
>> > For example when I try to delete "030316834745 ", I

get
>> > the following error:
>> >
>> > Error: Cannot delete file: Cannot read from source

file
>> > or disk.
>> >
>> >

>>
>>

>
>
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
trailing spaces =?Utf-8?B?cGV0ZXI=?= Microsoft Excel Worksheet Functions 3 19th Oct 2007 12:32 AM
Delete leading or trailing blank spaces in cell - an example DataFreakFromUtah Microsoft Excel Programming 2 16th Sep 2004 11:04 PM
How do I keep trailing spaces from being trimmed? rsine Microsoft VB .NET 2 10th Oct 2003 05:04 PM
Re: preserving trailing spaces Dave Peterson Microsoft Excel Misc 0 30th Jul 2003 06:39 AM
Trailing spaces~delete Brenda Microsoft Excel Worksheet Functions 4 10th Jul 2003 05:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:51 PM.