Go Back   Technology Questions > Software Questions > Operating System Questions > Windows XP

Windows XP Discuss the Microsoft Windows XP Operating System

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 05-17-2007, 12:50 PM
Tafeille
Tablet PC Guest
 
Posts: n/a
Delete files w/long names using DOS

I have XP Home Edition. Virus recently messed everything up. Before getting
fixed want to delete files no longer needed but cannot get to Programs or
Desktop while in safe mode. Can get to C prompt and DOS. I deleted files with
short names but can't delete ones with more than 8 characters. Is there a way
to delete the long-lettered files using DOS? I don't want to delete whole
subdirectories, just particular files in them. Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 05-17-2007, 12:50 PM
Xploder HD Movie Player for PS3. Manage, convert and transfer media files between the PC and PS3.
  #2 (permalink)  
Old 05-17-2007, 01:10 PM
Joe Grover
Tablet PC Guest
 
Posts: n/a
Re: Delete files w/long names using DOS

Type: dir /x

That will give you a column that shows you the 8.3 filename for your files.

For example, address book.txt also shows up as ADDRES~1.TXT. Then you could
delete addres~1.txt

Joe

"Tafeille" <Tafeille@discussions.microsoft.com> wrote in message
news:F65151D8-86E3-459E-B515-1113623B4E76@microsoft.com...
>I have XP Home Edition. Virus recently messed everything up. Before getting
> fixed want to delete files no longer needed but cannot get to Programs or
> Desktop while in safe mode. Can get to C prompt and DOS. I deleted files
> with
> short names but can't delete ones with more than 8 characters. Is there a
> way
> to delete the long-lettered files using DOS? I don't want to delete whole
> subdirectories, just particular files in them. Thanks.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 05-17-2007, 06:30 PM
Tafeille
Tablet PC Guest
 
Posts: n/a
Re: Delete files w/long names using DOS

I'll try that. I wonder, though, is it copying the file and I'm deleting the
new file? Or is it renaming it?

"Joe Grover" wrote:

> Type: dir /x
>
> That will give you a column that shows you the 8.3 filename for your files.
>
> For example, address book.txt also shows up as ADDRES~1.TXT. Then you could
> delete addres~1.txt
>
> Joe
>
> "Tafeille" <Tafeille@discussions.microsoft.com> wrote in message
> news:F65151D8-86E3-459E-B515-1113623B4E76@microsoft.com...
> >I have XP Home Edition. Virus recently messed everything up. Before getting
> > fixed want to delete files no longer needed but cannot get to Programs or
> > Desktop while in safe mode. Can get to C prompt and DOS. I deleted files
> > with
> > short names but can't delete ones with more than 8 characters. Is there a
> > way
> > to delete the long-lettered files using DOS? I don't want to delete whole
> > subdirectories, just particular files in them. Thanks.

>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4 (permalink)  
Old 05-18-2007, 04:20 AM
Joe Grover
Tablet PC Guest
 
Posts: n/a
Re: Delete files w/long names using DOS

It's only showing you the file using both long and short filenames. The /x
switch is just a sorting switch. It's the same file.

Joe


"Tafeille" <Tafeille@discussions.microsoft.com> wrote in message
news:E3A1FD93-3F5E-4FDE-9555-266B9EED5645@microsoft.com...
> I'll try that. I wonder, though, is it copying the file and I'm deleting
> the
> new file? Or is it renaming it?
>
> "Joe Grover" wrote:
>
>> Type: dir /x
>>
>> That will give you a column that shows you the 8.3 filename for your
>> files.
>>
>> For example, address book.txt also shows up as ADDRES~1.TXT. Then you
>> could
>> delete addres~1.txt
>>
>> Joe
>>
>> "Tafeille" <Tafeille@discussions.microsoft.com> wrote in message
>> news:F65151D8-86E3-459E-B515-1113623B4E76@microsoft.com...
>> >I have XP Home Edition. Virus recently messed everything up. Before
>> >getting
>> > fixed want to delete files no longer needed but cannot get to Programs
>> > or
>> > Desktop while in safe mode. Can get to C prompt and DOS. I deleted
>> > files
>> > with
>> > short names but can't delete ones with more than 8 characters. Is there
>> > a
>> > way
>> > to delete the long-lettered files using DOS? I don't want to delete
>> > whole
>> > subdirectories, just particular files in them. Thanks.

>>
>>


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #5 (permalink)  
Old 05-18-2007, 10:41 AM
Poprivet
Tablet PC Guest
 
Posts: n/a
Re: Delete files w/long names using DOS

Tafeille wrote:
> I have XP Home Edition. Virus recently messed everything up. Before
> getting fixed want to delete files no longer needed but cannot get to
> Programs or Desktop while in safe mode. Can get to C prompt and DOS.
> I deleted files with short names but can't delete ones with more than
> 8 characters. Is there a way to delete the long-lettered files using
> DOS? I don't want to delete whole subdirectories, just particular
> files in them. Thanks.


I assume by DOS you mean the Command Prompt:

Put quotes around the filenames.

e.g. del "x:\my long name \*.dll" or del x:\"my long name"\*.dll are the
same thing.

Or, do a dir and use the exact name as it shows if it has a ~ in it; e.g.
del x:\mylong~1.dll

HTH
Pop`



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #6 (permalink)  
Old 05-18-2007, 01:00 PM
Tafeille
Tablet PC Guest
 
Posts: n/a
RE: Delete files w/long names using DOS

To Joe Grover & Poprivet:

Thank you so much for the help. I tried the suggestions from both of you
and, I'm happy to say, they both worked. Plus, I got two other suggestions
from a friend of mine and they both worked also. So now I have a whole
arsenal of ways to get rid of those files. Thanks again. You two were great.

"Tafeille" wrote:

> I have XP Home Edition. Virus recently messed everything up. Before getting
> fixed want to delete files no longer needed but cannot get to Programs or
> Desktop while in safe mode. Can get to C prompt and DOS. I deleted files with
> short names but can't delete ones with more than 8 characters. Is there a way
> to delete the long-lettered files using DOS? I don't want to delete whole
> subdirectories, just particular files in them. Thanks.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

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 On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Long file names Jack Russell Windows XP 3 04-15-2007 11:00 PM
Why does it take so long to delete a single file? Flagreen Windows Vista 2 02-12-2007 11:02 AM
2 HUGE .TMP files - To Delete or NOT Delete...that is the question Mark D. Windows XP 9 01-04-2007 03:43 AM
Cannot delete file with long name Dave Bolt Windows XP 6 01-04-2007 03:38 AM
MS-DOS long file names Scott Windows XP 9 01-04-2007 02:13 AM


All times are GMT -8. The time now is 03:23 PM.


2003 - 2008 All Rights Reserved. Technology Questions

SEO by vBSEO 3.1.0